#5F183D#5F183D

#5F183D is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.9% C 0.109 H 352.5°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#5F183D
RGBrgb(95, 24, 61)
HSLhsl(329, 60%, 23%)
HSVhsv(329, 75%, 37%)
CMYKcmyk(0%, 74.7%, 35.8%, 62.7%)
CIE-LABlab(21.67, 35.49, -5.54)
CIE-LCHlch(21.67, 35.92, 351.13°)
OKLaboklab(33.91% 0.1085 -0.0142)
OKLCHoklch(33.91% 0.109 352.5)
XYZxyz(5.8886, 3.4238, 4.7647)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F183D #185F3A
analogous
#5D185F #5F183D #5F181A
triadic
#5F183D #3D5F18 #183D5F
tetradic
#5F183D #5F5D18 #185F3A #181A5F
square
#5F183D #5F5D18 #185F3A #181A5F
split-complementary
#5F183D #1A5F18 #185F5D
monochromatic
#180610 #2E0C1E #5F183D #90245C #C1317C

Accessibility & contrast

On white

12.47
#5F183D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F183D
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F183D#FFFFFF#000000##FFFFFF
##5F183D1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#242C3E
Deuteranopia (green-blind)
#38393B
Tritanopia (blue-blind)
#671328
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f183d;
/* rgb */ color: rgb(95, 24, 61);
/* oklch */ color: oklch(33.9% 0.109 352.5);
Tailwind
colors: {
  custom: {
    50: '#905b72',
    500: '#5f183d',
    950: '#000000',
  },
}
SCSS
$custom: #5f183d;
$custom-light: #905b72;
$custom-dark: #000000;
JSON
{
  "hex": "#5f183d",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 61
  },
  "hsl": {
    "h": 328.732,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33914,
    "c": 0.10945,
    "h": 352.5
  },
  "luminance": 0.03423
}

Semantic roles & 50–950 ramp

primary
#5F183D
secondary
#3D9568
accent
#E39145
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F183D

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

Preview Lab → · Contrast checker → · Palette generator →

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