#4E1739#4E1739

#4E1739 is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.6% C 0.093 H 345.9°. Best body text is #FFFFFF at 13.95:1 contrast (WCAG AA passes).

Color values

HEX#4E1739
RGBrgb(78, 23, 57)
HSLhsl(323, 54%, 20%)
HSVhsv(323, 71%, 31%)
CMYKcmyk(0%, 70.5%, 26.9%, 69.4%)
CIE-LABlab(18.05, 29.84, -8.54)
CIE-LCHlch(18.05, 31.03, 344.03°)
OKLaboklab(30.57% 0.09 -0.0226)
OKLCHoklch(30.57% 0.093 345.9)
XYZxyz(4.1870, 2.5283, 4.1376)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1739 #174E2C
analogous
#48174E #4E1739 #4E171E
triadic
#4E1739 #394E17 #17394E
tetradic
#4E1739 #4E4817 #174E2C #171E4E
square
#4E1739 #4E4817 #174E2C #171E4E
split-complementary
#4E1739 #1E4E17 #174E48
monochromatic
#180711 #1F0916 #4E1739 #7D255C #AD337E

Accessibility & contrast

On white

13.95
#4E1739 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#4E1739 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1739
13.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1739#FFFFFF#000000##FFFFFF
##4E17391.0013.951.5113.95
#FFFFFF13.951.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D263A
Deuteranopia (green-blind)
#2D3038
Tritanopia (blue-blind)
#541625
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #4e1739;
/* rgb */ color: rgb(78, 23, 57);
/* oklch */ color: oklch(30.6% 0.093 345.9);
Tailwind
colors: {
  custom: {
    50: '#82586f',
    500: '#4e1739',
    950: '#000000',
  },
}
SCSS
$custom: #4e1739;
$custom-light: #82586f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1739",
  "rgb": {
    "r": 78,
    "g": 23,
    "b": 57
  },
  "hsl": {
    "h": 322.909,
    "s": 54.455,
    "l": 19.804
  },
  "oklch": {
    "l": 0.30571,
    "c": 0.09281,
    "h": 345.9
  },
  "luminance": 0.02528
}

Semantic roles & 50–950 ramp

primary
#4E1739
secondary
#3C8558
accent
#DE824A
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0307
muted
#7C787A

Preview Lab

Preview with #4E1739

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

Preview Lab → · Contrast checker → · Palette generator →

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