#5F1D2F#5F1D2F

#5F1D2F is a dark, moderate pink. Relative luminance 0.035; OKLCH L 34.0% C 0.097 H 7.2°. Best body text is #FFFFFF at 12.33:1 contrast (WCAG AA passes).

Color values

HEX#5F1D2F
RGBrgb(95, 29, 47)
HSLhsl(344, 53%, 24%)
HSVhsv(344, 69%, 37%)
CMYKcmyk(0%, 69.5%, 50.5%, 62.7%)
CIE-LABlab(22.01, 31.57, 4.66)
CIE-LCHlch(22.01, 31.91, 8.41°)
OKLaboklab(34.01% 0.0961 0.0122)
OKLCHoklch(34.01% 0.097 7.2)
XYZxyz(5.6722, 3.5176, 3.0690)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1D2F #1D5F4D
analogous
#5F1D50 #5F1D2F #5F2C1D
triadic
#5F1D2F #2F5F1D #1D2F5F
tetradic
#5F1D2F #505F1D #1D5F4D #2C1D5F
square
#5F1D2F #505F1D #1D5F4D #2C1D5F
split-complementary
#5F1D2F #1D5F2C #1D505F
monochromatic
#17070C #300F18 #5F1D2F #8E2B46 #BD3A5D

Accessibility & contrast

On white

12.33
#5F1D2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#5F1D2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1D2F
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1D2F#FFFFFF#000000##FFFFFF
##5F1D2F1.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2C2F
Deuteranopia (green-blind)
#3D3A2D
Tritanopia (blue-blind)
#681324
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #5f1d2f;
/* rgb */ color: rgb(95, 29, 47);
/* oklch */ color: oklch(34.0% 0.097 7.2);
Tailwind
colors: {
  custom: {
    50: '#905d67',
    500: '#5f1d2f',
    950: '#000000',
  },
}
SCSS
$custom: #5f1d2f;
$custom-light: #905d67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1d2f",
  "rgb": {
    "r": 95,
    "g": 29,
    "b": 47
  },
  "hsl": {
    "h": 343.636,
    "s": 53.226,
    "l": 24.314
  },
  "oklch": {
    "l": 0.34009,
    "c": 0.09687,
    "h": 7.2
  },
  "luminance": 0.03517
}

Semantic roles & 50–950 ramp

primary
#5F1D2F
secondary
#44947E
accent
#DDB54B
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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