#5F2139#5F2139

#5F2139 is a dark, moderate pink. Relative luminance 0.038; OKLCH L 34.9% C 0.094 H 359.1°. Best body text is #FFFFFF at 11.91:1 contrast (WCAG AA passes).

Color values

HEX#5F2139
RGBrgb(95, 33, 57)
HSLhsl(337, 48%, 25%)
HSVhsv(337, 65%, 37%)
CMYKcmyk(0%, 65.3%, 40%, 62.7%)
CIE-LABlab(23.06, 30.76, -0.72)
CIE-LCHlch(23.06, 30.77, 358.66°)
OKLaboklab(34.89% 0.0939 -0.0015)
OKLCHoklch(34.89% 0.094 359.1)
XYZxyz(6.0020, 3.8167, 4.2907)
Luminance0.0382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2139 #215F47
analogous
#5F2158 #5F2139 #5F2821
triadic
#5F2139 #395F21 #21395F
tetradic
#5F2139 #585F21 #215F47 #28215F
square
#5F2139 #585F21 #215F47 #28215F
split-complementary
#5F2139 #215F28 #21585F
monochromatic
#17080E #32111E #5F2139 #8C3154 #BA4170

Accessibility & contrast

On white

11.91
#5F2139 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#5F2139 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2139
11.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2139#FFFFFF#000000##FFFFFF
##5F21391.0011.911.7611.91
#FFFFFF11.911.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C303A
Deuteranopia (green-blind)
#3C3B38
Tritanopia (blue-blind)
#671B2A
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #5f2139;
/* rgb */ color: rgb(95, 33, 57);
/* oklch */ color: oklch(34.9% 0.094 359.1);
Tailwind
colors: {
  custom: {
    50: '#8f606f',
    500: '#5f2139',
    950: '#000000',
  },
}
SCSS
$custom: #5f2139;
$custom-light: #8f606f;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2139",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 57
  },
  "hsl": {
    "h": 336.774,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.34893,
    "c": 0.09393,
    "h": 359.1
  },
  "luminance": 0.03816
}

Semantic roles & 50–950 ramp

primary
#5F2139
secondary
#499376
accent
#D8A350
background
#F9F5F6
surface
#F1EAEC
border
#CBC6C7
text
#0D0507
muted
#7E797A

Preview Lab

Preview with #5F2139

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

Preview Lab → · Contrast checker → · Palette generator →

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