#5F1B2F#5F1B2F

#5F1B2F is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.8% C 0.100 H 6.3°. Best body text is #FFFFFF at 12.47:1 contrast (WCAG AA passes).

Color values

HEX#5F1B2F
RGBrgb(95, 27, 47)
HSLhsl(342, 56%, 24%)
HSVhsv(342, 72%, 37%)
CMYKcmyk(0%, 71.6%, 50.5%, 62.7%)
CIE-LABlab(21.66, 32.51, 4.17)
CIE-LCHlch(21.66, 32.77, 7.32°)
OKLaboklab(33.75% 0.0991 0.011)
OKLCHoklch(33.75% 0.1 6.3)
XYZxyz(5.6248, 3.4227, 3.0532)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1B2F #1B5F4B
analogous
#5F1B51 #5F1B2F #5F291B
triadic
#5F1B2F #2F5F1B #1B2F5F
tetradic
#5F1B2F #515F1B #1B5F4B #291B5F
square
#5F1B2F #515F1B #1B5F4B #291B5F
split-complementary
#5F1B2F #1B5F29 #1B515F
monochromatic
#18070C #2F0D17 #5F1B2F #8F2947 #BE365E

Accessibility & contrast

On white

12.47
#5F1B2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1B2F
12.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1B2F#FFFFFF#000000##FFFFFF
##5F1B2F1.0012.471.6812.47
#FFFFFF12.471.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A2B2F
Deuteranopia (green-blind)
#3C392D
Tritanopia (blue-blind)
#681123
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #5f1b2f;
/* rgb */ color: rgb(95, 27, 47);
/* oklch */ color: oklch(33.8% 0.100 6.3);
Tailwind
colors: {
  custom: {
    50: '#905c67',
    500: '#5f1b2f',
    950: '#000000',
  },
}
SCSS
$custom: #5f1b2f;
$custom-light: #905c67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1b2f",
  "rgb": {
    "r": 95,
    "g": 27,
    "b": 47
  },
  "hsl": {
    "h": 342.353,
    "s": 55.738,
    "l": 23.922
  },
  "oklch": {
    "l": 0.33753,
    "c": 0.0997,
    "h": 6.3
  },
  "luminance": 0.03422
}

Semantic roles & 50–950 ramp

primary
#5F1B2F
secondary
#41957C
accent
#DFB349
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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