#5F0C2B#5F0C2B

#5F0C2B is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.1% C 0.116 H 5.1°. Best body text is #FFFFFF at 13.34:1 contrast (WCAG AA passes).

Color values

HEX#5F0C2B
RGBrgb(95, 12, 43)
HSLhsl(338, 78%, 21%)
HSVhsv(338, 87%, 37%)
CMYKcmyk(0%, 87.4%, 54.7%, 62.7%)
CIE-LABlab(19.52, 37.77, 3.94)
CIE-LCHlch(19.52, 37.97, 5.95°)
OKLaboklab(32.13% 0.1156 0.0103)
OKLCHoklch(32.13% 0.116 5.1)
XYZxyz(5.2873, 2.8710, 2.5608)
Luminance0.0287 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0C2B #0C5F40
analogous
#5F0C54 #5F0C2B #5F160C
triadic
#5F0C2B #2B5F0C #0C2B5F
tetradic
#5F0C2B #545F0C #0C5F40 #160C5F
square
#5F0C2B #545F0C #0C5F40 #160C5F
split-complementary
#5F0C2B #0C5F16 #0C545F
monochromatic
#1B030C #290512 #5F0C2B #951344 #CC1A5C

Accessibility & contrast

On white

13.34
#5F0C2B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.57
#5F0C2B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0C2B
13.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0C2B#FFFFFF#000000##FFFFFF
##5F0C2B1.0013.341.5713.34
#FFFFFF13.341.0021.001.00
#0000001.5721.001.0021.00
##FFFFFF13.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#22252C
Deuteranopia (green-blind)
#383529
Tritanopia (blue-blind)
#68001A
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #5f0c2b;
/* rgb */ color: rgb(95, 12, 43);
/* oklch */ color: oklch(32.1% 0.116 5.1);
Tailwind
colors: {
  custom: {
    50: '#915664',
    500: '#5f0c2b',
    950: '#000000',
  },
}
SCSS
$custom: #5f0c2b;
$custom-light: #915664;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0c2b",
  "rgb": {
    "r": 95,
    "g": 12,
    "b": 43
  },
  "hsl": {
    "h": 337.59,
    "s": 77.57,
    "l": 20.98
  },
  "oklch": {
    "l": 0.32131,
    "c": 0.11604,
    "h": 5.1
  },
  "luminance": 0.0287
}

Semantic roles & 50–950 ramp

primary
#5F0C2B
secondary
#2D9971
accent
#F4AC34
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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