#5F182D#5F182D

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

Color values

HEX#5F182D
RGBrgb(95, 24, 45)
HSLhsl(342, 60%, 23%)
HSVhsv(342, 75%, 37%)
CMYKcmyk(0%, 74.7%, 52.6%, 62.7%)
CIE-LABlab(21.12, 33.64, 4.80)
CIE-LCHlch(21.12, 33.98, 8.12°)
OKLaboklab(33.33% 0.1025 0.0125)
OKLCHoklch(33.33% 0.103 7)
XYZxyz(5.5201, 3.2764, 2.8238)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F182D #185F4A
analogous
#5F1850 #5F182D #5F2618
triadic
#5F182D #2D5F18 #182D5F
tetradic
#5F182D #505F18 #185F4A #26185F
square
#5F182D #505F18 #185F4A #26185F
split-complementary
#5F182D #185F26 #18505F
monochromatic
#18060C #2E0C16 #5F182D #902444 #C1315B

Accessibility & contrast

On white

12.69
#5F182D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F182D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F182D
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F182D#FFFFFF#000000##FFFFFF
##5F182D1.0012.691.6612.69
#FFFFFF12.691.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A2D
Deuteranopia (green-blind)
#3B382B
Tritanopia (blue-blind)
#680B21
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f182d;
/* rgb */ color: rgb(95, 24, 45);
/* oklch */ color: oklch(33.3% 0.103 7.0);
Tailwind
colors: {
  custom: {
    50: '#915b65',
    500: '#5f182d',
    950: '#000000',
  },
}
SCSS
$custom: #5f182d;
$custom-light: #915b65;
$custom-dark: #000000;
JSON
{
  "hex": "#5f182d",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 45
  },
  "hsl": {
    "h": 342.254,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33329,
    "c": 0.10327,
    "h": 7
  },
  "luminance": 0.03276
}

Semantic roles & 50–950 ramp

primary
#5F182D
secondary
#3D957B
accent
#E3B445
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F182D

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

Preview Lab → · Contrast checker → · Palette generator →

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