#4E0B42#4E0B42

#4E0B42 is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.116 H 336.7°. Best body text is #FFFFFF at 14.48:1 contrast (WCAG AA passes).

Color values

HEX#4E0B42
RGBrgb(78, 11, 66)
HSLhsl(311, 75%, 17%)
HSVhsv(311, 86%, 31%)
CMYKcmyk(0%, 85.9%, 15.4%, 69.4%)
CIE-LABlab(16.76, 36.18, -16.83)
CIE-LCHlch(16.76, 39.91, 335.05°)
OKLaboklab(29.79% 0.1066 -0.0459)
OKLCHoklch(29.79% 0.116 336.7)
XYZxyz(4.2450, 2.2528, 5.3645)
Luminance0.0225 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0B42 #0B4E17
analogous
#380B4E #4E0B42 #4E0B21
triadic
#4E0B42 #424E0B #0B424E
tetradic
#4E0B42 #4E380B #0B4E17 #0B214E
square
#4E0B42 #4E380B #0B4E17 #0B214E
split-complementary
#4E0B42 #214E0B #0B4E38
monochromatic
#1B0417 #1B0417 #4E0B42 #84136F #B91A9D

Accessibility & contrast

On white

14.48
#4E0B42 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #4E0B42
14.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0B42#FFFFFF#000000##FFFFFF
##4E0B421.0014.481.4514.48
#FFFFFF14.481.0021.001.00
#0000001.4521.001.0021.00
##FFFFFF14.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D2343
Deuteranopia (green-blind)
#252D40
Tritanopia (blue-blind)
#531026
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e0b42;
/* rgb */ color: rgb(78, 11, 66);
/* oklch */ color: oklch(29.8% 0.116 336.7);
Tailwind
colors: {
  custom: {
    50: '#825376',
    500: '#4e0b42',
    950: '#000000',
  },
}
SCSS
$custom: #4e0b42;
$custom-light: #825376;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0b42",
  "rgb": {
    "r": 78,
    "g": 11,
    "b": 66
  },
  "hsl": {
    "h": 310.746,
    "s": 75.281,
    "l": 17.451
  },
  "oklch": {
    "l": 0.29786,
    "c": 0.11604,
    "h": 336.7
  },
  "luminance": 0.02252
}

Semantic roles & 50–950 ramp

primary
#4E0B42
secondary
#2B8A3C
accent
#F25836
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #4E0B42

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

Preview Lab → · Contrast checker → · Palette generator →

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