#5F1836#5F1836

#5F1836 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.6% C 0.106 H 358.7°. Best body text is #FFFFFF at 12.57:1 contrast (WCAG AA passes).

Color values

HEX#5F1836
RGBrgb(95, 24, 54)
HSLhsl(335, 60%, 23%)
HSVhsv(335, 75%, 37%)
CMYKcmyk(0%, 74.7%, 43.2%, 62.7%)
CIE-LABlab(21.41, 34.62, -1.07)
CIE-LCHlch(21.41, 34.63, 358.23°)
OKLaboklab(33.64% 0.1061 -0.0024)
OKLCHoklch(33.64% 0.106 358.7)
XYZxyz(5.7122, 3.3532, 3.8357)
Luminance0.0335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1836 #185F41
analogous
#5F1859 #5F1836 #5F1D18
triadic
#5F1836 #365F18 #18365F
tetradic
#5F1836 #595F18 #185F41 #1D185F
square
#5F1836 #595F18 #185F41 #1D185F
split-complementary
#5F1836 #185F1D #18595F
monochromatic
#18060E #2E0C1A #5F1836 #902452 #C1316E

Accessibility & contrast

On white

12.57
#5F1836 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1836 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1836
12.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1836#FFFFFF#000000##FFFFFF
##5F18361.0012.571.6712.57
#FFFFFF12.571.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262B37
Deuteranopia (green-blind)
#393834
Tritanopia (blue-blind)
#670F24
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1836;
/* rgb */ color: rgb(95, 24, 54);
/* oklch */ color: oklch(33.6% 0.106 358.7);
Tailwind
colors: {
  custom: {
    50: '#905b6c',
    500: '#5f1836',
    950: '#000000',
  },
}
SCSS
$custom: #5f1836;
$custom-light: #905b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1836",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 54
  },
  "hsl": {
    "h": 334.648,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33637,
    "c": 0.10613,
    "h": 358.7
  },
  "luminance": 0.03353
}

Semantic roles & 50–950 ramp

primary
#5F1836
secondary
#3D9570
accent
#E3A045
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1836

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

Preview Lab → · Contrast checker → · Palette generator →

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