#4E0C23#4E0C23

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

Color values

HEX#4E0C23
RGBrgb(78, 12, 35)
HSLhsl(339, 73%, 18%)
HSVhsv(339, 85%, 31%)
CMYKcmyk(0%, 84.6%, 55.1%, 69.4%)
CIE-LABlab(15.51, 31.73, 3.49)
CIE-LCHlch(15.51, 31.93, 6.28°)
OKLaboklab(28.43% 0.097 0.0092)
OKLCHoklch(28.43% 0.097 5.4)
XYZxyz(3.5770, 2.0045, 1.7883)
Luminance0.0200 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C23 #0C4E37
analogous
#4E0C44 #4E0C23 #4E160C
triadic
#4E0C23 #234E0C #0C234E
tetradic
#4E0C23 #444E0C #0C4E37 #160C4E
square
#4E0C23 #444E0C #0C4E37 #160C4E
split-complementary
#4E0C23 #0C4E16 #0C444E
monochromatic
#1B040C #1B040C #4E0C23 #83143B #B81C53

Accessibility & contrast

On white

14.99
#4E0C23 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0C23
14.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C23#FFFFFF#000000##FFFFFF
##4E0C231.0014.991.4014.99
#FFFFFF14.991.0021.001.00
#0000001.4021.001.0021.00
##FFFFFF14.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1E23
Deuteranopia (green-blind)
#2E2B21
Tritanopia (blue-blind)
#560016
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4e0c23;
/* rgb */ color: rgb(78, 12, 35);
/* oklch */ color: oklch(28.4% 0.097 5.4);
Tailwind
colors: {
  custom: {
    50: '#84525d',
    500: '#4e0c23',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c23;
$custom-light: #84525d;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c23",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 35
  },
  "hsl": {
    "h": 339.091,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.2843,
    "c": 0.09745,
    "h": 5.4
  },
  "luminance": 0.02004
}

Semantic roles & 50–950 ramp

primary
#4E0C23
secondary
#2C8A69
accent
#F0B038
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0304
muted
#7C7879

Preview Lab

Preview with #4E0C23

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

Preview Lab → · Contrast checker → · Palette generator →

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