#5F1B2D#5F1B2D

#5F1B2D is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.7% C 0.099 H 8.2°. Best body text is #FFFFFF at 12.49:1 contrast (WCAG AA passes).

Color values

HEX#5F1B2D
RGBrgb(95, 27, 45)
HSLhsl(344, 56%, 24%)
HSVhsv(344, 72%, 37%)
CMYKcmyk(0%, 71.6%, 52.6%, 62.7%)
CIE-LABlab(21.60, 32.30, 5.48)
CIE-LCHlch(21.60, 32.76, 9.64°)
OKLaboklab(33.69% 0.0982 0.0142)
OKLCHoklch(33.69% 0.099 8.2)
XYZxyz(5.5854, 3.4069, 2.8456)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1B2D #1B5F4D
analogous
#5F1B4F #5F1B2D #5F2B1B
triadic
#5F1B2D #2D5F1B #1B2D5F
tetradic
#5F1B2D #4F5F1B #1B5F4D #2B1B5F
square
#5F1B2D #4F5F1B #1B5F4D #2B1B5F
split-complementary
#5F1B2D #1B5F2B #1B4F5F
monochromatic
#18070B #2F0D16 #5F1B2D #8F2944 #BE365A

Accessibility & contrast

On white

12.49
#5F1B2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1B2D
12.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1B2D#FFFFFF#000000##FFFFFF
##5F1B2D1.0012.491.6812.49
#FFFFFF12.491.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2D
Deuteranopia (green-blind)
#3C392B
Tritanopia (blue-blind)
#681022
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1b2d;
/* rgb */ color: rgb(95, 27, 45);
/* oklch */ color: oklch(33.7% 0.099 8.2);
Tailwind
colors: {
  custom: {
    50: '#905c65',
    500: '#5f1b2d',
    950: '#000000',
  },
}
SCSS
$custom: #5f1b2d;
$custom-light: #905c65;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1b2d",
  "rgb": {
    "r": 95,
    "g": 27,
    "b": 45
  },
  "hsl": {
    "h": 344.118,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33691,
    "c": 0.09926,
    "h": 8.2
  },
  "luminance": 0.03406
}

Semantic roles & 50–950 ramp

primary
#5F1B2D
secondary
#41957F
accent
#DFB749
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F1B2D

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

Preview Lab → · Contrast checker → · Palette generator →

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