#5F183E#5F183E

#5F183E is a dark, moderate pink. Relative luminance 0.034; OKLCH L 34.0% C 0.110 H 351.7°. Best body text is #FFFFFF at 12.45:1 contrast (WCAG AA passes).

Color values

HEX#5F183E
RGBrgb(95, 24, 62)
HSLhsl(328, 60%, 23%)
HSVhsv(328, 75%, 37%)
CMYKcmyk(0%, 74.7%, 34.7%, 62.7%)
CIE-LABlab(21.71, 35.62, -6.17)
CIE-LCHlch(21.71, 36.15, 350.18°)
OKLaboklab(33.96% 0.1088 -0.0159)
OKLCHoklch(33.96% 0.11 351.7)
XYZxyz(5.9158, 3.4346, 4.9079)
Luminance0.0343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F183E #185F39
analogous
#5C185F #5F183E #5F181A
triadic
#5F183E #3E5F18 #183E5F
tetradic
#5F183E #5F5C18 #185F39 #181A5F
square
#5F183E #5F5C18 #185F39 #181A5F
split-complementary
#5F183E #1A5F18 #185F5C
monochromatic
#180610 #2E0C1E #5F183E #90245E #C1317E

Accessibility & contrast

On white

12.45
#5F183E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.69
#5F183E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F183E
12.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F183E#FFFFFF#000000##FFFFFF
##5F183E1.0012.451.6912.45
#FFFFFF12.451.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C3F
Deuteranopia (green-blind)
#38393C
Tritanopia (blue-blind)
#671328
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f183e;
/* rgb */ color: rgb(95, 24, 62);
/* oklch */ color: oklch(34.0% 0.110 351.7);
Tailwind
colors: {
  custom: {
    50: '#905b73',
    500: '#5f183e',
    950: '#000000',
  },
}
SCSS
$custom: #5f183e;
$custom-light: #905b73;
$custom-dark: #000000;
JSON
{
  "hex": "#5f183e",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 62
  },
  "hsl": {
    "h": 327.887,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33956,
    "c": 0.10999,
    "h": 351.7
  },
  "luminance": 0.03434
}

Semantic roles & 50–950 ramp

primary
#5F183E
secondary
#3D9566
accent
#E38E45
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F183E

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

Preview Lab → · Contrast checker → · Palette generator →

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