#4E071F#4E071F

#4E071F is a dark, moderate pink. Relative luminance 0.019; OKLCH L 27.9% C 0.102 H 7.8°. Best body text is #FFFFFF at 15.28:1 contrast (WCAG AA passes).

Color values

HEX#4E071F
RGBrgb(78, 7, 31)
HSLhsl(340, 84%, 17%)
HSVhsv(340, 91%, 31%)
CMYKcmyk(0%, 91%, 60.3%, 69.4%)
CIE-LABlab(14.80, 33.06, 5.42)
CIE-LCHlch(14.80, 33.50, 9.32°)
OKLaboklab(27.87% 0.1007 0.0138)
OKLCHoklch(27.87% 0.102 7.8)
XYZxyz(3.4655, 1.8711, 1.4747)
Luminance0.0187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E071F #074E36
analogous
#4E0743 #4E071F #4E1307
triadic
#4E071F #1F4E07 #071F4E
tetradic
#4E071F #434E07 #074E36 #13074E
square
#4E071F #434E07 #074E36 #13074E
split-complementary
#4E071F #074E13 #07434E
monochromatic
#1C030B #1C030B #4E071F #860C35 #BE114C

Accessibility & contrast

On white

15.28
#4E071F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#4E071F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E071F
15.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E071F#FFFFFF#000000##FFFFFF
##4E071F1.0015.281.3715.28
#FFFFFF15.281.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B1C1F
Deuteranopia (green-blind)
#2D2A1D
Tritanopia (blue-blind)
#560012
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #4e071f;
/* rgb */ color: rgb(78, 7, 31);
/* oklch */ color: oklch(27.9% 0.102 7.8);
Tailwind
colors: {
  custom: {
    50: '#84505a',
    500: '#4e071f',
    950: '#000000',
  },
}
SCSS
$custom: #4e071f;
$custom-light: #84505a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e071f",
  "rgb": {
    "r": 78,
    "g": 7,
    "b": 31
  },
  "hsl": {
    "h": 339.718,
    "s": 83.529,
    "l": 16.667
  },
  "oklch": {
    "l": 0.27865,
    "c": 0.10169,
    "h": 7.8
  },
  "luminance": 0.01871
}

Semantic roles & 50–950 ramp

primary
#4E071F
secondary
#258C69
accent
#FAB52E
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0203
muted
#7D7878

Preview Lab

Preview with #4E071F

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

Preview Lab → · Contrast checker → · Palette generator →

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