#4E1F39#4E1F39

#4E1F39 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.7% C 0.079 H 348.2°. Best body text is #FFFFFF at 13.30:1 contrast (WCAG AA passes).

Color values

HEX#4E1F39
RGBrgb(78, 31, 57)
HSLhsl(327, 43%, 21%)
HSVhsv(327, 60%, 31%)
CMYKcmyk(0%, 60.3%, 26.9%, 69.4%)
CIE-LABlab(19.62, 25.59, -6.16)
CIE-LCHlch(19.62, 26.32, 346.48°)
OKLaboklab(31.74% 0.0771 -0.0161)
OKLCHoklch(31.74% 0.079 348.2)
XYZxyz(4.3705, 2.8955, 4.1988)
Luminance0.0290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F39 #1F4E34
analogous
#4C1F4E #4E1F39 #4E1F22
triadic
#4E1F39 #394E1F #1F394E
tetradic
#4E1F39 #4E4C1F #1F4E34 #1F224E
square
#4E1F39 #4E4C1F #1F4E34 #1F224E
split-complementary
#4E1F39 #224E1F #1F4E4C
monochromatic
#160910 #220E19 #4E1F39 #7A3059 #A64279

Accessibility & contrast

On white

13.30
#4E1F39 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#4E1F39 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F39
13.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F39#FFFFFF#000000##FFFFFF
##4E1F391.0013.301.5813.30
#FFFFFF13.301.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242A3A
Deuteranopia (green-blind)
#313238
Tritanopia (blue-blind)
#531E29
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1f39;
/* rgb */ color: rgb(78, 31, 57);
/* oklch */ color: oklch(31.7% 0.079 348.2);
Tailwind
colors: {
  custom: {
    50: '#815d6f',
    500: '#4e1f39',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f39;
$custom-light: #815d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f39",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 57
  },
  "hsl": {
    "h": 326.809,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31736,
    "c": 0.07874,
    "h": 348.2
  },
  "luminance": 0.02895
}

Semantic roles & 50–950 ramp

primary
#4E1F39
secondary
#468361
accent
#D38D55
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0A0407
muted
#7C797A

Preview Lab

Preview with #4E1F39

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

Preview Lab → · Contrast checker → · Palette generator →

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