#5F1A2D#5F1A2D

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

Color values

HEX#5F1A2D
RGBrgb(95, 26, 45)
HSLhsl(343, 57%, 24%)
HSVhsv(343, 73%, 37%)
CMYKcmyk(0%, 72.6%, 52.6%, 62.7%)
CIE-LABlab(21.44, 32.75, 5.25)
CIE-LCHlch(21.44, 33.17, 9.11°)
OKLaboklab(33.57% 0.0997 0.0136)
OKLCHoklch(33.57% 0.101 7.8)
XYZxyz(5.5628, 3.3619, 2.8381)
Luminance0.0336 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1A2D #1A5F4C
analogous
#5F1A4F #5F1A2D #5F291A
triadic
#5F1A2D #2D5F1A #1A2D5F
tetradic
#5F1A2D #4F5F1A #1A5F4C #291A5F
square
#5F1A2D #4F5F1A #1A5F4C #291A5F
split-complementary
#5F1A2D #1A5F29 #1A4F5F
monochromatic
#18070B #2F0D16 #5F1A2D #8F2744 #BF345B

Accessibility & contrast

On white

12.56
#5F1A2D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1A2D
12.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1A2D#FFFFFF#000000##FFFFFF
##5F1A2D1.0012.561.6712.56
#FFFFFF12.561.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2D
Deuteranopia (green-blind)
#3C392B
Tritanopia (blue-blind)
#680E22
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1a2d;
/* rgb */ color: rgb(95, 26, 45);
/* oklch */ color: oklch(33.6% 0.101 7.8);
Tailwind
colors: {
  custom: {
    50: '#915c65',
    500: '#5f1a2d',
    950: '#000000',
  },
}
SCSS
$custom: #5f1a2d;
$custom-light: #915c65;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1a2d",
  "rgb": {
    "r": 95,
    "g": 26,
    "b": 45
  },
  "hsl": {
    "h": 343.478,
    "s": 57.025,
    "l": 23.725
  },
  "oklch": {
    "l": 0.33567,
    "c": 0.10063,
    "h": 7.8
  },
  "luminance": 0.03361
}

Semantic roles & 50–950 ramp

primary
#5F1A2D
secondary
#40957D
accent
#E0B648
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F1A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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