#5F0F2B#5F0F2B

#5F0F2B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.4% C 0.113 H 5.8°. Best body text is #FFFFFF at 13.21:1 contrast (WCAG AA passes).

Color values

HEX#5F0F2B
RGBrgb(95, 15, 43)
HSLhsl(339, 73%, 22%)
HSVhsv(339, 84%, 37%)
CMYKcmyk(0%, 84.2%, 54.7%, 62.7%)
CIE-LABlab(19.84, 36.85, 4.40)
CIE-LCHlch(19.84, 37.11, 6.80°)
OKLaboklab(32.37% 0.1126 0.0115)
OKLCHoklch(32.37% 0.113 5.8)
XYZxyz(5.3267, 2.9497, 2.5739)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F2B #0F5F43
analogous
#5F0F53 #5F0F2B #5F1B0F
triadic
#5F0F2B #2B5F0F #0F2B5F
tetradic
#5F0F2B #535F0F #0F5F43 #1B0F5F
square
#5F0F2B #535F0F #0F5F43 #1B0F5F
split-complementary
#5F0F2B #0F5F1B #0F535F
monochromatic
#1A040C #2A0713 #5F0F2B #941743 #C9205B

Accessibility & contrast

On white

13.21
#5F0F2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5F0F2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F2B
13.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F2B#FFFFFF#000000##FFFFFF
##5F0F2B1.0013.211.5913.21
#FFFFFF13.211.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262C
Deuteranopia (green-blind)
#393629
Tritanopia (blue-blind)
#68001B
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0f2b;
/* rgb */ color: rgb(95, 15, 43);
/* oklch */ color: oklch(32.4% 0.113 5.8);
Tailwind
colors: {
  custom: {
    50: '#915764',
    500: '#5f0f2b',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f2b;
$custom-light: #915764;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f2b",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 43
  },
  "hsl": {
    "h": 339,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32367,
    "c": 0.1132,
    "h": 5.8
  },
  "luminance": 0.02949
}

Semantic roles & 50–950 ramp

primary
#5F0F2B
secondary
#329874
accent
#EFAF38
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0F2B

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

Preview Lab → · Contrast checker → · Palette generator →

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