#4E0C27#4E0C27

#4E0C27 is a dark, moderate pink. Relative luminance 0.020; OKLCH L 28.6% C 0.099 H 1.3°. Best body text is #FFFFFF at 14.94:1 contrast (WCAG AA passes).

Color values

HEX#4E0C27
RGBrgb(78, 12, 39)
HSLhsl(335, 73%, 18%)
HSVhsv(335, 85%, 31%)
CMYKcmyk(0%, 84.6%, 50%, 69.4%)
CIE-LABlab(15.64, 32.15, 0.76)
CIE-LCHlch(15.64, 32.16, 1.35°)
OKLaboklab(28.57% 0.0987 0.0023)
OKLCHoklch(28.57% 0.099 1.3)
XYZxyz(3.6399, 2.0296, 2.1191)
Luminance0.0203 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C27 #0C4E33
analogous
#4E0C48 #4E0C27 #4E120C
triadic
#4E0C27 #274E0C #0C274E
tetradic
#4E0C27 #484E0C #0C4E33 #120C4E
square
#4E0C27 #484E0C #0C4E33 #120C4E
split-complementary
#4E0C27 #0C4E12 #0C484E
monochromatic
#1B040D #1B040D #4E0C27 #831442 #B81C5C

Accessibility & contrast

On white

14.94
#4E0C27 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.41
#4E0C27 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C27
14.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C27#FFFFFF#000000##FFFFFF
##4E0C271.0014.941.4114.94
#FFFFFF14.941.0021.001.00
#0000001.4121.001.0021.00
##FFFFFF14.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C1F28
Deuteranopia (green-blind)
#2D2C25
Tritanopia (blue-blind)
#550118
Achromatopsia (no color)
#272727

Design tokens & code

CSS
--color: #4e0c27;
/* rgb */ color: rgb(78, 12, 39);
/* oklch */ color: oklch(28.6% 0.099 1.3);
Tailwind
colors: {
  custom: {
    50: '#845260',
    500: '#4e0c27',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c27;
$custom-light: #845260;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c27",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 39
  },
  "hsl": {
    "h": 335.455,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.28569,
    "c": 0.0987,
    "h": 1.3
  },
  "luminance": 0.02029
}

Semantic roles & 50–950 ramp

primary
#4E0C27
secondary
#2C8A63
accent
#F0A538
background
#F8F4F5
surface
#EFE7E9
border
#CAC3C5
text
#0B0305
muted
#7C7879

Preview Lab

Preview with #4E0C27

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

Preview Lab → · Contrast checker → · Palette generator →

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