#5F0E2A#5F0E2A

#5F0E2A is a dark, moderate pink. Relative luminance 0.029; OKLCH L 32.3% C 0.114 H 6.4°. Best body text is #FFFFFF at 13.27:1 contrast (WCAG AA passes).

Color values

HEX#5F0E2A
RGBrgb(95, 14, 42)
HSLhsl(339, 74%, 21%)
HSVhsv(339, 85%, 37%)
CMYKcmyk(0%, 85.3%, 55.8%, 62.7%)
CIE-LABlab(19.70, 37.08, 4.91)
CIE-LCHlch(19.70, 37.40, 7.54°)
OKLaboklab(32.25% 0.1132 0.0127)
OKLCHoklch(32.25% 0.114 6.4)
XYZxyz(5.2948, 2.9149, 2.4739)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E2A #0E5F43
analogous
#5F0E53 #5F0E2A #5F1B0E
triadic
#5F0E2A #2A5F0E #0E2A5F
tetradic
#5F0E2A #535F0E #0E5F43 #1B0E5F
square
#5F0E2A #535F0E #0E5F43 #1B0E5F
split-complementary
#5F0E2A #0E5F1B #0E535F
monochromatic
#1B040C #2A0612 #5F0E2A #941642 #CA1E59

Accessibility & contrast

On white

13.27
#5F0E2A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.58
#5F0E2A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0E2A
13.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E2A#FFFFFF#000000##FFFFFF
##5F0E2A1.0013.271.5813.27
#FFFFFF13.271.0021.001.00
#0000001.5821.001.0021.00
##FFFFFF13.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24252B
Deuteranopia (green-blind)
#393528
Tritanopia (blue-blind)
#68001A
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0e2a;
/* rgb */ color: rgb(95, 14, 42);
/* oklch */ color: oklch(32.3% 0.114 6.4);
Tailwind
colors: {
  custom: {
    50: '#915763',
    500: '#5f0e2a',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e2a;
$custom-light: #915763;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e2a",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 42
  },
  "hsl": {
    "h": 339.259,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32254,
    "c": 0.11394,
    "h": 6.4
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#5F0E2A
secondary
#309975
accent
#F1B137
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0E0305
muted
#7E7879

Preview Lab

Preview with #5F0E2A

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

Preview Lab → · Contrast checker → · Palette generator →

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