#4E1F35#4E1F35

#4E1F35 is a dark, moderate pink. Relative luminance 0.029; OKLCH L 31.6% C 0.076 H 353.1°. Best body text is #FFFFFF at 13.36:1 contrast (WCAG AA passes).

Color values

HEX#4E1F35
RGBrgb(78, 31, 53)
HSLhsl(332, 43%, 21%)
HSVhsv(332, 60%, 31%)
CMYKcmyk(0%, 60.3%, 32.1%, 69.4%)
CIE-LABlab(19.46, 24.96, -3.60)
CIE-LCHlch(19.46, 25.21, 351.79°)
OKLaboklab(31.57% 0.0757 -0.0092)
OKLCHoklch(31.57% 0.076 353.1)
XYZxyz(4.2746, 2.8571, 3.6938)
Luminance0.0286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#4E1F35 #1F4E38
analogous
#4E1F4D #4E1F35 #4E211F
triadic
#4E1F35 #354E1F #1F354E
tetradic
#4E1F35 #4D4E1F #1F4E38 #211F4E
square
#4E1F35 #4D4E1F #1F4E38 #211F4E
split-complementary
#4E1F35 #1F4E21 #1F4D4E
monochromatic
#16090F #220E17 #4E1F35 #7A3053 #A64271

Accessibility & contrast

On white

13.36
#4E1F35 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#4E1F35 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #4E1F35
13.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##4E1F35#FFFFFF#000000##FFFFFF
##4E1F351.0013.361.5713.36
#FFFFFF13.361.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252A36
Deuteranopia (green-blind)
#323234
Tritanopia (blue-blind)
#541D27
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #4e1f35;
/* rgb */ color: rgb(78, 31, 53);
/* oklch */ color: oklch(31.6% 0.076 353.1);
Tailwind
colors: {
  custom: {
    50: '#825d6c',
    500: '#4e1f35',
    950: '#000000',
  },
}
SCSS
$custom: #4e1f35;
$custom-light: #825d6c;
$custom-dark: #000000;
JSON
{
  "hex": "#4e1f35",
  "rgb": {
    "r": 78,
    "g": 31,
    "b": 53
  },
  "hsl": {
    "h": 331.915,
    "s": 43.119,
    "l": 21.373
  },
  "oklch": {
    "l": 0.31566,
    "c": 0.07621,
    "h": 353.1
  },
  "luminance": 0.02857
}

Semantic roles & 50–950 ramp

primary
#4E1F35
secondary
#468366
accent
#D39855
background
#F8F5F6
surface
#EFE9EB
border
#CAC5C6
text
#0B0406
muted
#7C797A

Preview Lab

Preview with #4E1F35

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

Preview Lab → · Contrast checker → · Palette generator →

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