#5F183F#5F183F

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

Color values

HEX#5F183F
RGBrgb(95, 24, 63)
HSLhsl(327, 60%, 23%)
HSVhsv(327, 75%, 37%)
CMYKcmyk(0%, 74.7%, 33.7%, 62.7%)
CIE-LABlab(21.75, 35.76, -6.79)
CIE-LCHlch(21.75, 36.40, 349.24°)
OKLaboklab(34% 0.1091 -0.0176)
OKLCHoklch(34% 0.111 350.8)
XYZxyz(5.9435, 3.4457, 5.0538)
Luminance0.0345 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F183F #185F38
analogous
#5B185F #5F183F #5F181B
triadic
#5F183F #3F5F18 #183F5F
tetradic
#5F183F #5F5B18 #185F38 #181B5F
square
#5F183F #5F5B18 #185F38 #181B5F
split-complementary
#5F183F #1B5F18 #185F5B
monochromatic
#180610 #2E0C1F #5F183F #90245F #C13180

Accessibility & contrast

On white

12.43
#5F183F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F183F
12.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F183F#FFFFFF#000000##FFFFFF
##5F183F1.0012.431.6912.43
#FFFFFF12.431.0021.001.00
#0000001.6921.001.0021.00
##FFFFFF12.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232C40
Deuteranopia (green-blind)
#37393D
Tritanopia (blue-blind)
#661429
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f183f;
/* rgb */ color: rgb(95, 24, 63);
/* oklch */ color: oklch(34.0% 0.111 350.8);
Tailwind
colors: {
  custom: {
    50: '#905b74',
    500: '#5f183f',
    950: '#000000',
  },
}
SCSS
$custom: #5f183f;
$custom-light: #905b74;
$custom-dark: #000000;
JSON
{
  "hex": "#5f183f",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 63
  },
  "hsl": {
    "h": 327.042,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33999,
    "c": 0.11056,
    "h": 350.8
  },
  "luminance": 0.03445
}

Semantic roles & 50–950 ramp

primary
#5F183F
secondary
#3D9565
accent
#E38C45
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F183F

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

Preview Lab → · Contrast checker → · Palette generator →

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