#5F183A#5F183A

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

Color values

HEX#5F183A
RGBrgb(95, 24, 58)
HSLhsl(331, 60%, 23%)
HSVhsv(331, 75%, 37%)
CMYKcmyk(0%, 74.7%, 38.9%, 62.7%)
CIE-LABlab(21.55, 35.10, -3.63)
CIE-LCHlch(21.55, 35.29, 354.09°)
OKLaboklab(33.79% 0.1075 -0.0091)
OKLCHoklch(33.79% 0.108 355.1)
XYZxyz(5.8100, 3.3923, 4.3510)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F183A #185F3D
analogous
#5F185D #5F183A #5F1A18
triadic
#5F183A #3A5F18 #183A5F
tetradic
#5F183A #5D5F18 #185F3D #1A185F
square
#5F183A #5D5F18 #185F3D #1A185F
split-complementary
#5F183A #185F1A #185D5F
monochromatic
#18060F #2E0C1C #5F183A #902458 #C13176

Accessibility & contrast

On white

12.51
#5F183A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F183A
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F183A#FFFFFF#000000##FFFFFF
##5F183A1.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B3B
Deuteranopia (green-blind)
#393838
Tritanopia (blue-blind)
#671126
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f183a;
/* rgb */ color: rgb(95, 24, 58);
/* oklch */ color: oklch(33.8% 0.108 355.1);
Tailwind
colors: {
  custom: {
    50: '#905b70',
    500: '#5f183a',
    950: '#000000',
  },
}
SCSS
$custom: #5f183a;
$custom-light: #905b70;
$custom-dark: #000000;
JSON
{
  "hex": "#5f183a",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 58
  },
  "hsl": {
    "h": 331.268,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33791,
    "c": 0.10792,
    "h": 355.1
  },
  "luminance": 0.03392
}

Semantic roles & 50–950 ramp

primary
#5F183A
secondary
#3D956B
accent
#E39745
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F183A

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

Preview Lab → · Contrast checker → · Palette generator →

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