#4E0C39#4E0C39

#4E0C39 is a dark, moderate pink. Relative luminance 0.022; OKLCH L 29.4% C 0.108 H 344.2°. Best body text is #FFFFFF at 14.63:1 contrast (WCAG AA passes).

Color values

HEX#4E0C39
RGBrgb(78, 12, 57)
HSLhsl(319, 73%, 18%)
HSVhsv(319, 85%, 31%)
CMYKcmyk(0%, 84.6%, 26.9%, 69.4%)
CIE-LABlab(16.40, 34.45, -11.06)
CIE-LCHlch(16.40, 36.18, 342.19°)
OKLaboklab(29.37% 0.1042 -0.0295)
OKLCHoklch(29.37% 0.108 344.2)
XYZxyz(4.0120, 2.1785, 4.0793)
Luminance0.0218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E0C39 #0C4E21
analogous
#420C4E #4E0C39 #4E0C18
triadic
#4E0C39 #394E0C #0C394E
tetradic
#4E0C39 #4E420C #0C4E21 #0C184E
square
#4E0C39 #4E420C #0C4E21 #0C184E
split-complementary
#4E0C39 #184E0C #0C4E42
monochromatic
#1B0413 #1B0413 #4E0C39 #831460 #B81C87

Accessibility & contrast

On white

14.63
#4E0C39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.44
#4E0C39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E0C39
14.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E0C39#FFFFFF#000000##FFFFFF
##4E0C391.0014.631.4414.63
#FFFFFF14.631.0021.001.00
#0000001.4421.001.0021.00
##FFFFFF14.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#14223A
Deuteranopia (green-blind)
#292D38
Tritanopia (blue-blind)
#540B21
Achromatopsia (no color)
#292929

Design tokens & code

CSS
--color: #4e0c39;
/* rgb */ color: rgb(78, 12, 57);
/* oklch */ color: oklch(29.4% 0.108 344.2);
Tailwind
colors: {
  custom: {
    50: '#83536f',
    500: '#4e0c39',
    950: '#000000',
  },
}
SCSS
$custom: #4e0c39;
$custom-light: #83536f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e0c39",
  "rgb": {
    "r": 78,
    "g": 12,
    "b": 57
  },
  "hsl": {
    "h": 319.091,
    "s": 73.333,
    "l": 17.647
  },
  "oklch": {
    "l": 0.29367,
    "c": 0.10833,
    "h": 344.2
  },
  "luminance": 0.02178
}

Semantic roles & 50–950 ramp

primary
#4E0C39
secondary
#2C8A4A
accent
#F07238
background
#F8F5F6
surface
#EFE8EC
border
#CAC4C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E0C39

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

Preview Lab → · Contrast checker → · Palette generator →

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