#5F183C#5F183C

#5F183C is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.9% C 0.109 H 353.4°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#5F183C
RGBrgb(95, 24, 60)
HSLhsl(330, 60%, 23%)
HSVhsv(330, 75%, 37%)
CMYKcmyk(0%, 74.7%, 36.8%, 62.7%)
CIE-LABlab(21.63, 35.36, -4.90)
CIE-LCHlch(21.63, 35.70, 352.11°)
OKLaboklab(33.87% 0.1082 -0.0125)
OKLCHoklch(33.87% 0.109 353.4)
XYZxyz(5.8619, 3.4131, 4.6242)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F183C #185F3B
analogous
#5E185F #5F183C #5F1819
triadic
#5F183C #3C5F18 #183C5F
tetradic
#5F183C #5F5E18 #185F3B #18195F
square
#5F183C #5F5E18 #185F3B #18195F
split-complementary
#5F183C #195F18 #185F5E
monochromatic
#18060F #2E0C1D #5F183C #90245B #C1317A

Accessibility & contrast

On white

12.48
#5F183C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F183C
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F183C#FFFFFF#000000##FFFFFF
##5F183C1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3D
Deuteranopia (green-blind)
#38393A
Tritanopia (blue-blind)
#671227
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f183c;
/* rgb */ color: rgb(95, 24, 60);
/* oklch */ color: oklch(33.9% 0.109 353.4);
Tailwind
colors: {
  custom: {
    50: '#905b71',
    500: '#5f183c',
    950: '#000000',
  },
}
SCSS
$custom: #5f183c;
$custom-light: #905b71;
$custom-dark: #000000;
JSON
{
  "hex": "#5f183c",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 60
  },
  "hsl": {
    "h": 329.577,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33872,
    "c": 0.10892,
    "h": 353.4
  },
  "luminance": 0.03412
}

Semantic roles & 50–950 ramp

primary
#5F183C
secondary
#3D9569
accent
#E39345
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F183C

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

Preview Lab → · Contrast checker → · Palette generator →

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