#5F213E#5F213E

#5F213E is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.1% C 0.096 H 354.1°. Best body text is #FFFFFF at 11.84:1 contrast (WCAG AA passes).

Color values

HEX#5F213E
RGBrgb(95, 33, 62)
HSLhsl(332, 48%, 25%)
HSVhsv(332, 65%, 37%)
CMYKcmyk(0%, 65.3%, 34.7%, 62.7%)
CIE-LABlab(23.23, 31.43, -3.88)
CIE-LCHlch(23.23, 31.67, 352.96°)
OKLaboklab(35.08% 0.0958 -0.0099)
OKLCHoklch(35.08% 0.096 354.1)
XYZxyz(6.1330, 3.8691, 4.9803)
Luminance0.0387 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F213E #215F42
analogous
#5F215D #5F213E #5F2321
triadic
#5F213E #3E5F21 #213E5F
tetradic
#5F213E #5D5F21 #215F42 #23215F
square
#5F213E #5D5F21 #215F42 #23215F
split-complementary
#5F213E #215F23 #215D5F
monochromatic
#17080F #321120 #5F213E #8C315C #BA4179

Accessibility & contrast

On white

11.84
#5F213E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.77
#5F213E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F213E
11.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F213E#FFFFFF#000000##FFFFFF
##5F213E1.0011.841.7711.84
#FFFFFF11.841.0021.001.00
#0000001.7721.001.0021.00
##FFFFFF11.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A303F
Deuteranopia (green-blind)
#3B3C3D
Tritanopia (blue-blind)
#661D2C
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f213e;
/* rgb */ color: rgb(95, 33, 62);
/* oklch */ color: oklch(35.1% 0.096 354.1);
Tailwind
colors: {
  custom: {
    50: '#8f6073',
    500: '#5f213e',
    950: '#000000',
  },
}
SCSS
$custom: #5f213e;
$custom-light: #8f6073;
$custom-dark: #000000;
JSON
{
  "hex": "#5f213e",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 62
  },
  "hsl": {
    "h": 331.935,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35083,
    "c": 0.09627,
    "h": 354.1
  },
  "luminance": 0.03868
}

Semantic roles & 50–950 ramp

primary
#5F213E
secondary
#499370
accent
#D89850
background
#F9F5F6
surface
#F1EAEC
border
#CBC6C7
text
#0D0508
muted
#7E797B

Preview Lab

Preview with #5F213E

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

Preview Lab → · Contrast checker → · Palette generator →

#5F213E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva