#5F1833#5F1833

#5F1833 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.105 H 1.4°. Best body text is #FFFFFF at 12.61:1 contrast (WCAG AA passes).

Color values

HEX#5F1833
RGBrgb(95, 24, 51)
HSLhsl(337, 60%, 23%)
HSVhsv(337, 75%, 37%)
CMYKcmyk(0%, 74.7%, 46.3%, 62.7%)
CIE-LABlab(21.30, 34.27, 0.87)
CIE-LCHlch(21.30, 34.28, 1.46°)
OKLaboklab(33.53% 0.105 0.0026)
OKLCHoklch(33.53% 0.105 1.4)
XYZxyz(5.6439, 3.3259, 3.4761)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1833 #185F44
analogous
#5F1856 #5F1833 #5F2018
triadic
#5F1833 #335F18 #18335F
tetradic
#5F1833 #565F18 #185F44 #20185F
square
#5F1833 #565F18 #185F44 #20185F
split-complementary
#5F1833 #185F20 #18565F
monochromatic
#18060D #2E0C19 #5F1833 #90244D #C13167

Accessibility & contrast

On white

12.61
#5F1833 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1833
12.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1833#FFFFFF#000000##FFFFFF
##5F18331.0012.611.6712.61
#FFFFFF12.611.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272A34
Deuteranopia (green-blind)
#3A3831
Tritanopia (blue-blind)
#680E23
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1833;
/* rgb */ color: rgb(95, 24, 51);
/* oklch */ color: oklch(33.5% 0.105 1.4);
Tailwind
colors: {
  custom: {
    50: '#905b6a',
    500: '#5f1833',
    950: '#000000',
  },
}
SCSS
$custom: #5f1833;
$custom-light: #905b6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1833",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 51
  },
  "hsl": {
    "h": 337.183,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33528,
    "c": 0.10499,
    "h": 1.4
  },
  "luminance": 0.03325
}

Semantic roles & 50–950 ramp

primary
#5F1833
secondary
#3D9574
accent
#E3A745
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1833

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

Preview Lab → · Contrast checker → · Palette generator →

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