#5F0F2F#5F0F2F

#5F0F2F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.114 H 2.4°. Best body text is #FFFFFF at 13.16:1 contrast (WCAG AA passes).

Color values

HEX#5F0F2F
RGBrgb(95, 15, 47)
HSLhsl(336, 73%, 22%)
HSVhsv(336, 84%, 37%)
CMYKcmyk(0%, 84.2%, 50.5%, 62.7%)
CIE-LABlab(19.97, 37.24, 1.74)
CIE-LCHlch(19.97, 37.28, 2.68°)
OKLaboklab(32.5% 0.1142 0.0049)
OKLCHoklch(32.5% 0.114 2.4)
XYZxyz(5.4037, 2.9805, 2.9795)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F2F #0F5F3F
analogous
#5F0F57 #5F0F2F #5F170F
triadic
#5F0F2F #2F5F0F #0F2F5F
tetradic
#5F0F2F #575F0F #0F5F3F #170F5F
square
#5F0F2F #575F0F #0F5F3F #170F5F
split-complementary
#5F0F2F #0F5F17 #0F575F
monochromatic
#1A040D #2A0715 #5F0F2F #941749 #C92063

Accessibility & contrast

On white

13.16
#5F0F2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5F0F2F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F2F
13.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F2F#FFFFFF#000000##FFFFFF
##5F0F2F1.0013.161.6013.16
#FFFFFF13.161.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232630
Deuteranopia (green-blind)
#38362D
Tritanopia (blue-blind)
#68001D
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0f2f;
/* rgb */ color: rgb(95, 15, 47);
/* oklch */ color: oklch(32.5% 0.114 2.4);
Tailwind
colors: {
  custom: {
    50: '#915767',
    500: '#5f0f2f',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f2f;
$custom-light: #915767;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f2f",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 47
  },
  "hsl": {
    "h": 336,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32499,
    "c": 0.11434,
    "h": 2.4
  },
  "luminance": 0.0298
}

Semantic roles & 50–950 ramp

primary
#5F0F2F
secondary
#32986F
accent
#EFA638
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5F0F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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