#5F182E#5F182E

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

Color values

HEX#5F182E
RGBrgb(95, 24, 46)
HSLhsl(341, 60%, 23%)
HSVhsv(341, 75%, 37%)
CMYKcmyk(0%, 74.7%, 51.6%, 62.7%)
CIE-LABlab(21.15, 33.74, 4.14)
CIE-LCHlch(21.15, 33.99, 6.99°)
OKLaboklab(33.36% 0.1029 0.0109)
OKLCHoklch(33.36% 0.104 6)
XYZxyz(5.5395, 3.2841, 2.9264)
Luminance0.0328 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F182E #185F49
analogous
#5F1851 #5F182E #5F2518
triadic
#5F182E #2E5F18 #182E5F
tetradic
#5F182E #515F18 #185F49 #25185F
square
#5F182E #515F18 #185F49 #25185F
split-complementary
#5F182E #185F25 #18515F
monochromatic
#18060C #2E0C16 #5F182E #902446 #C1315D

Accessibility & contrast

On white

12.68
#5F182E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F182E
12.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F182E#FFFFFF#000000##FFFFFF
##5F182E1.0012.681.6612.68
#FFFFFF12.681.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A2E
Deuteranopia (green-blind)
#3B382C
Tritanopia (blue-blind)
#680C21
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f182e;
/* rgb */ color: rgb(95, 24, 46);
/* oklch */ color: oklch(33.4% 0.103 6.0);
Tailwind
colors: {
  custom: {
    50: '#915b66',
    500: '#5f182e',
    950: '#000000',
  },
}
SCSS
$custom: #5f182e;
$custom-light: #915b66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f182e",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 46
  },
  "hsl": {
    "h": 341.408,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33361,
    "c": 0.1035,
    "h": 6
  },
  "luminance": 0.03283
}

Semantic roles & 50–950 ramp

primary
#5F182E
secondary
#3D957A
accent
#E3B245
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F182E

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

Preview Lab → · Contrast checker → · Palette generator →

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