#5F182A#5F182A

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

Color values

HEX#5F182A
RGBrgb(95, 24, 42)
HSLhsl(345, 60%, 23%)
HSVhsv(345, 75%, 37%)
CMYKcmyk(0%, 74.7%, 55.8%, 62.7%)
CIE-LABlab(21.03, 33.35, 6.78)
CIE-LCHlch(21.03, 34.03, 11.49°)
OKLaboklab(33.24% 0.1012 0.0173)
OKLCHoklch(33.24% 0.103 9.7)
XYZxyz(5.4643, 3.2541, 2.5304)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F182A #185F4D
analogous
#5F184D #5F182A #5F2918
triadic
#5F182A #2A5F18 #182A5F
tetradic
#5F182A #4D5F18 #185F4D #29185F
square
#5F182A #4D5F18 #185F4D #29185F
split-complementary
#5F182A #185F29 #184D5F
monochromatic
#18060B #2E0C14 #5F182A #902440 #C13155

Accessibility & contrast

On white

12.72
#5F182A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F182A
12.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F182A#FFFFFF#000000##FFFFFF
##5F182A1.0012.721.6512.72
#FFFFFF12.721.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29292A
Deuteranopia (green-blind)
#3C3828
Tritanopia (blue-blind)
#680A1F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f182a;
/* rgb */ color: rgb(95, 24, 42);
/* oklch */ color: oklch(33.2% 0.103 9.7);
Tailwind
colors: {
  custom: {
    50: '#915b63',
    500: '#5f182a',
    950: '#000000',
  },
}
SCSS
$custom: #5f182a;
$custom-light: #915b63;
$custom-dark: #000000;
JSON
{
  "hex": "#5f182a",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 42
  },
  "hsl": {
    "h": 344.789,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33239,
    "c": 0.10269,
    "h": 9.7
  },
  "luminance": 0.03253
}

Semantic roles & 50–950 ramp

primary
#5F182A
secondary
#3D957F
accent
#E3BB45
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F182A

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

Preview Lab → · Contrast checker → · Palette generator →

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