#5F2144#5F2144

#5F2144 is a dark, moderate pink. Relative luminance 0.039; OKLCH L 35.3% C 0.100 H 348.5°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#5F2144
RGBrgb(95, 33, 68)
HSLhsl(326, 48%, 25%)
HSVhsv(326, 65%, 37%)
CMYKcmyk(0%, 65.3%, 28.4%, 62.7%)
CIE-LABlab(23.47, 32.30, -7.62)
CIE-LCHlch(23.47, 33.19, 346.73°)
OKLaboklab(35.33% 0.0977 -0.02)
OKLCHoklch(35.33% 0.1 348.5)
XYZxyz(6.3068, 3.9386, 5.8958)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F2144 #215F3C
analogous
#5B215F #5F2144 #5F2125
triadic
#5F2144 #445F21 #21445F
tetradic
#5F2144 #5F5B21 #215F3C #21255F
square
#5F2144 #5F5B21 #215F3C #21255F
split-complementary
#5F2144 #255F21 #215F5B
monochromatic
#170810 #321123 #5F2144 #8C3165 #BA4185

Accessibility & contrast

On white

11.75
#5F2144 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#5F2144 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F2144
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F2144#FFFFFF#000000##FFFFFF
##5F21441.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#283145
Deuteranopia (green-blind)
#3A3C43
Tritanopia (blue-blind)
#661F2F
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #5f2144;
/* rgb */ color: rgb(95, 33, 68);
/* oklch */ color: oklch(35.3% 0.100 348.5);
Tailwind
colors: {
  custom: {
    50: '#8f6077',
    500: '#5f2144',
    950: '#000000',
  },
}
SCSS
$custom: #5f2144;
$custom-light: #8f6077;
$custom-dark: #000000;
JSON
{
  "hex": "#5f2144",
  "rgb": {
    "r": 95,
    "g": 33,
    "b": 68
  },
  "hsl": {
    "h": 326.129,
    "s": 48.438,
    "l": 25.098
  },
  "oklch": {
    "l": 0.35333,
    "c": 0.09976,
    "h": 348.5
  },
  "luminance": 0.03938
}

Semantic roles & 50–950 ramp

primary
#5F2144
secondary
#499369
accent
#D88B50
background
#F9F5F7
surface
#F1EAED
border
#CBC6C8
text
#0D0508
muted
#7E797B

Preview Lab

Preview with #5F2144

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

Preview Lab → · Contrast checker → · Palette generator →

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