#4E0C1F#4E0C1F

#4E0C1F is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.3% C 0.097 H 9.5°. Best body text is #FFFFFF at 15.04:1 contrast (WCAG AA passes).

Color values

HEX#4E0C1F
RGBrgb(78, 12, 31)
HSLhsl(343, 73%, 18%)
HSVhsv(343, 85%, 31%)
CMYKcmyk(0%, 84.6%, 60.3%, 69.4%)
CIE-LABlab(15.39, 31.36, 6.25)
CIE-LCHlch(15.39, 31.98, 11.28°)
OKLaboklab(28.3% 0.0953 0.0159)
OKLCHoklch(28.3% 0.097 9.5)
XYZxyz(3.5210, 1.9821, 1.4932)
Luminance0.0198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C1F #0C4E3B
analogous
#4E0C40 #4E0C1F #4E1A0C
triadic
#4E0C1F #1F4E0C #0C1F4E
tetradic
#4E0C1F #404E0C #0C4E3B #1A0C4E
square
#4E0C1F #404E0C #0C4E3B #1A0C4E
split-complementary
#4E0C1F #0C4E1A #0C404E
monochromatic
#1B040B #1B040B #4E0C1F #831434 #B81C49

Accessibility & contrast

On white

15.04
#4E0C1F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.40
#4E0C1F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C1F
15.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C1F#FFFFFF#000000##FFFFFF
##4E0C1F1.0015.041.4015.04
#FFFFFF15.041.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF15.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E1E1F
Deuteranopia (green-blind)
#2F2B1D
Tritanopia (blue-blind)
#560014
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4e0c1f;
/* rgb */ color: rgb(78, 12, 31);
/* oklch */ color: oklch(28.3% 0.097 9.5);
Tailwind
colors: {
  custom: {
    50: '#84525a',
    500: '#4e0c1f',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c1f;
$custom-light: #84525a;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c1f",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 31
  },
  "hsl": {
    "h": 342.727,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28304,
    "c": 0.09657,
    "h": 9.5
  },
  "luminance": 0.01982
}

Semantic roles & 50–950 ramp

primary
#4E0C1F
secondary
#2C8A6F
accent
#F0BB38
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0C0203
muted
#7D7878

Preview Lab

Preview with #4E0C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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