#4F112B#4F112B

#4F112B is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.095 H 359.3°. Best body text is #FFFFFF at 14.51:1 contrast (WCAG AA passes).

Color values

HEX#4F112B
RGBrgb(79, 17, 43)
HSLhsl(335, 65%, 19%)
HSVhsv(335, 78%, 31%)
CMYKcmyk(0%, 78.5%, 45.6%, 69%)
CIE-LABlab(16.69, 30.98, -0.59)
CIE-LCHlch(16.69, 30.98, 358.92°)
OKLaboklab(29.43% 0.095 -0.0012)
OKLCHoklch(29.43% 0.095 359.3)
XYZxyz(3.8612, 2.2381, 2.5137)
Luminance0.0224 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4F112B #114F35
analogous
#4F114A #4F112B #4F1611
triadic
#4F112B #2B4F11 #112B4F
tetradic
#4F112B #4A4F11 #114F35 #16114F
square
#4F112B #4A4F11 #114F35 #16114F
split-complementary
#4F112B #114F16 #114A4F
monochromatic
#19050E #1D0610 #4F112B #811C46 #B42762

Accessibility & contrast

On white

14.51
#4F112B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.45
#4F112B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4F112B
14.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4F112B#FFFFFF#000000##FFFFFF
##4F112B1.0014.511.4514.51
#FFFFFF14.511.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222C
Deuteranopia (green-blind)
#2F2E2A
Tritanopia (blue-blind)
#56091C
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4f112b;
/* rgb */ color: rgb(79, 17, 43);
/* oklch */ color: oklch(29.4% 0.095 359.3);
Tailwind
colors: {
  custom: {
    50: '#845564',
    500: '#4f112b',
    950: '#000000',
  },
}
SCSS
$custom: #4f112b;
$custom-light: #845564;
$custom-dark: #000000;
JSON
{
  "hex": "#4f112b",
  "rgb": {
    "r": 79,
    "g": 17,
    "b": 43
  },
  "hsl": {
    "h": 334.839,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.29425,
    "c": 0.09501,
    "h": 359.3
  },
  "luminance": 0.02238
}

Semantic roles & 50–950 ramp

primary
#4F112B
secondary
#338865
accent
#E8A140
background
#F8F5F5
surface
#EFE9EA
border
#CAC5C6
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4F112B

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#4F112B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva