#5F182B#5F182B

#5F182B is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.3% C 0.103 H 8.8°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#5F182B
RGBrgb(95, 24, 43)
HSLhsl(344, 60%, 23%)
HSVhsv(344, 75%, 37%)
CMYKcmyk(0%, 74.7%, 54.7%, 62.7%)
CIE-LABlab(21.06, 33.44, 6.12)
CIE-LCHlch(21.06, 34.00, 10.36°)
OKLaboklab(33.27% 0.1017 0.0157)
OKLCHoklch(33.27% 0.103 8.8)
XYZxyz(5.4825, 3.2613, 2.6258)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F182B #185F4C
analogous
#5F184E #5F182B #5F2818
triadic
#5F182B #2B5F18 #182B5F
tetradic
#5F182B #4E5F18 #185F4C #28185F
square
#5F182B #4E5F18 #185F4C #28185F
split-complementary
#5F182B #185F28 #184E5F
monochromatic
#18060B #2E0C15 #5F182B #902441 #C13157

Accessibility & contrast

On white

12.71
#5F182B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F182B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F182B
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F182B#FFFFFF#000000##FFFFFF
##5F182B1.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2B
Deuteranopia (green-blind)
#3B3829
Tritanopia (blue-blind)
#680A20
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f182b;
/* rgb */ color: rgb(95, 24, 43);
/* oklch */ color: oklch(33.3% 0.103 8.8);
Tailwind
colors: {
  custom: {
    50: '#915b64',
    500: '#5f182b',
    950: '#000000',
  },
}
SCSS
$custom: #5f182b;
$custom-light: #915b64;
$custom-dark: #000000;
JSON
{
  "hex": "#5f182b",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 43
  },
  "hsl": {
    "h": 343.944,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33269,
    "c": 0.10287,
    "h": 8.8
  },
  "luminance": 0.03261
}

Semantic roles & 50–950 ramp

primary
#5F182B
secondary
#3D957E
accent
#E3B945
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F182B

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

Preview Lab → · Contrast checker → · Palette generator →

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