#5F1B2E#5F1B2E

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

Color values

HEX#5F1B2E
RGBrgb(95, 27, 46)
HSLhsl(343, 56%, 24%)
HSVhsv(343, 72%, 37%)
CMYKcmyk(0%, 71.6%, 51.6%, 62.7%)
CIE-LABlab(21.63, 32.40, 4.83)
CIE-LCHlch(21.63, 32.76, 8.48°)
OKLaboklab(33.72% 0.0987 0.0126)
OKLCHoklch(33.72% 0.099 7.3)
XYZxyz(5.6048, 3.4147, 2.9482)
Luminance0.0341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1B2E #1B5F4C
analogous
#5F1B50 #5F1B2E #5F2A1B
triadic
#5F1B2E #2E5F1B #1B2E5F
tetradic
#5F1B2E #505F1B #1B5F4C #2A1B5F
square
#5F1B2E #505F1B #1B5F4C #2A1B5F
split-complementary
#5F1B2E #1B5F2A #1B505F
monochromatic
#18070C #2F0D17 #5F1B2E #8F2945 #BE365C

Accessibility & contrast

On white

12.48
#5F1B2E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1B2E
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1B2E#FFFFFF#000000##FFFFFF
##5F1B2E1.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2E
Deuteranopia (green-blind)
#3C392C
Tritanopia (blue-blind)
#681023
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1b2e;
/* rgb */ color: rgb(95, 27, 46);
/* oklch */ color: oklch(33.7% 0.099 7.3);
Tailwind
colors: {
  custom: {
    50: '#905c66',
    500: '#5f1b2e',
    950: '#000000',
  },
}
SCSS
$custom: #5f1b2e;
$custom-light: #905c66;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1b2e",
  "rgb": {
    "r": 95,
    "g": 27,
    "b": 46
  },
  "hsl": {
    "h": 343.235,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33721,
    "c": 0.09947,
    "h": 7.3
  },
  "luminance": 0.03414
}

Semantic roles & 50–950 ramp

primary
#5F1B2E
secondary
#41957D
accent
#DFB549
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F1B2E

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

Preview Lab → · Contrast checker → · Palette generator →

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