#4E0B21#4E0B21

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

Color values

HEX#4E0B21
RGBrgb(78, 11, 33)
HSLhsl(340, 75%, 17%)
HSVhsv(340, 86%, 31%)
CMYKcmyk(0%, 85.9%, 57.7%, 69.4%)
CIE-LABlab(15.33, 31.90, 4.69)
CIE-LCHlch(15.33, 32.24, 8.37°)
OKLaboklab(28.27% 0.0973 0.0121)
OKLCHoklch(28.27% 0.098 7.1)
XYZxyz(3.5364, 1.9694, 1.6325)
Luminance0.0197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0B21 #0B4E38
analogous
#4E0B42 #4E0B21 #4E170B
triadic
#4E0B21 #214E0B #0B214E
tetradic
#4E0B21 #424E0B #0B4E38 #170B4E
square
#4E0B21 #424E0B #0B4E38 #170B4E
split-complementary
#4E0B21 #0B4E17 #0B424E
monochromatic
#1B040B #1B040B #4E0B21 #841338 #B91A4E

Accessibility & contrast

On white

15.07
#4E0B21 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.39
#4E0B21 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0B21
15.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0B21#FFFFFF#000000##FFFFFF
##4E0B211.0015.071.3915.07
#FFFFFF15.071.0021.001.00
#0000001.3921.001.0021.00
##FFFFFF15.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D1E21
Deuteranopia (green-blind)
#2E2B1F
Tritanopia (blue-blind)
#560015
Achromatopsia (no color)
#262626

Design tokens & code

CSS
--color: #4e0b21;
/* rgb */ color: rgb(78, 11, 33);
/* oklch */ color: oklch(28.3% 0.098 7.1);
Tailwind
colors: {
  custom: {
    50: '#84525b',
    500: '#4e0b21',
    950: '#000000',
  },
}
SCSS
$custom: #4e0b21;
$custom-light: #84525b;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0b21",
  "rgb": {
    "r": 78,
    "g": 11,
    "b": 33
  },
  "hsl": {
    "h": 340.299,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.28273,
    "c": 0.09803,
    "h": 7.1
  },
  "luminance": 0.01969
}

Semantic roles & 50–950 ramp

primary
#4E0B21
secondary
#2B8A6B
accent
#F2B436
background
#F8F4F5
surface
#F0E7E9
border
#CBC3C5
text
#0B0204
muted
#7C7879

Preview Lab

Preview with #4E0B21

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

Preview Lab → · Contrast checker → · Palette generator →

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