#5F1834#5F1834

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

Color values

HEX#5F1834
RGBrgb(95, 24, 52)
HSLhsl(336, 60%, 23%)
HSVhsv(336, 75%, 37%)
CMYKcmyk(0%, 74.7%, 45.3%, 62.7%)
CIE-LABlab(21.34, 34.38, 0.22)
CIE-LCHlch(21.34, 34.39, 0.37°)
OKLaboklab(33.56% 0.1054 0.001)
OKLCHoklch(33.56% 0.105 0.5)
XYZxyz(5.6662, 3.3348, 3.5934)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1834 #185F43
analogous
#5F1857 #5F1834 #5F1F18
triadic
#5F1834 #345F18 #18345F
tetradic
#5F1834 #575F18 #185F43 #1F185F
square
#5F1834 #575F18 #185F43 #1F185F
split-complementary
#5F1834 #185F1F #18575F
monochromatic
#18060D #2E0C19 #5F1834 #90244F #C13169

Accessibility & contrast

On white

12.60
#5F1834 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1834
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1834#FFFFFF#000000##FFFFFF
##5F18341.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#272B35
Deuteranopia (green-blind)
#3A3832
Tritanopia (blue-blind)
#670F24
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1834;
/* rgb */ color: rgb(95, 24, 52);
/* oklch */ color: oklch(33.6% 0.105 0.5);
Tailwind
colors: {
  custom: {
    50: '#905b6b',
    500: '#5f1834',
    950: '#000000',
  },
}
SCSS
$custom: #5f1834;
$custom-light: #905b6b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1834",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 52
  },
  "hsl": {
    "h": 336.338,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33563,
    "c": 0.10535,
    "h": 0.5
  },
  "luminance": 0.03334
}

Semantic roles & 50–950 ramp

primary
#5F1834
secondary
#3D9573
accent
#E3A545
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1834

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

Preview Lab → · Contrast checker → · Palette generator →

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