#5F183B#5F183B

#5F183B is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.108 H 354.3°. Best body text is #FFFFFF at 12.50:1 contrast (WCAG AA passes).

Color values

HEX#5F183B
RGBrgb(95, 24, 59)
HSLhsl(330, 60%, 23%)
HSVhsv(330, 75%, 37%)
CMYKcmyk(0%, 74.7%, 37.9%, 62.7%)
CIE-LABlab(21.59, 35.23, -4.27)
CIE-LCHlch(21.59, 35.49, 353.09°)
OKLaboklab(33.83% 0.1079 -0.0108)
OKLCHoklch(33.83% 0.108 354.3)
XYZxyz(5.8357, 3.4026, 4.4863)
Luminance0.0340 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F183B #185F3C
analogous
#5F185E #5F183B #5F1918
triadic
#5F183B #3B5F18 #183B5F
tetradic
#5F183B #5E5F18 #185F3C #19185F
square
#5F183B #5E5F18 #185F3C #19185F
split-complementary
#5F183B #185F19 #185E5F
monochromatic
#18060F #2E0C1D #5F183B #902459 #C13178

Accessibility & contrast

On white

12.50
#5F183B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#5F183B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F183B
12.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F183B#FFFFFF#000000##FFFFFF
##5F183B1.0012.501.6812.50
#FFFFFF12.501.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3C
Deuteranopia (green-blind)
#383939
Tritanopia (blue-blind)
#671227
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f183b;
/* rgb */ color: rgb(95, 24, 59);
/* oklch */ color: oklch(33.8% 0.108 354.3);
Tailwind
colors: {
  custom: {
    50: '#905b70',
    500: '#5f183b',
    950: '#000000',
  },
}
SCSS
$custom: #5f183b;
$custom-light: #905b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5f183b",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 59
  },
  "hsl": {
    "h": 330.423,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33831,
    "c": 0.10841,
    "h": 354.3
  },
  "luminance": 0.03402
}

Semantic roles & 50–950 ramp

primary
#5F183B
secondary
#3D956A
accent
#E39545
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F183B

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

Preview Lab → · Contrast checker → · Palette generator →

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