#5F0E2F#5F0E2F

#5F0E2F is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.115 H 2.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#5F0E2F
RGBrgb(95, 14, 47)
HSLhsl(336, 74%, 21%)
HSVhsv(336, 85%, 37%)
CMYKcmyk(0%, 85.3%, 50.5%, 62.7%)
CIE-LABlab(19.85, 37.55, 1.58)
CIE-LCHlch(19.85, 37.58, 2.41°)
OKLaboklab(32.42% 0.1153 0.0045)
OKLCHoklch(32.42% 0.115 2.2)
XYZxyz(5.3899, 2.9530, 2.9749)
Luminance0.0295 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0E2F #0E5F3E
analogous
#5F0E58 #5F0E2F #5F160E
triadic
#5F0E2F #2F5F0E #0E2F5F
tetradic
#5F0E2F #585F0E #0E5F3E #160E5F
square
#5F0E2F #585F0E #0E5F3E #160E5F
split-complementary
#5F0E2F #0E5F16 #0E585F
monochromatic
#1B040D #2A0615 #5F0E2F #941649 #CA1E64

Accessibility & contrast

On white

13.20
#5F0E2F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0E2F
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0E2F#FFFFFF#000000##FFFFFF
##5F0E2F1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f0e2f;
/* rgb */ color: rgb(95, 14, 47);
/* oklch */ color: oklch(32.4% 0.115 2.2);
Tailwind
colors: {
  custom: {
    50: '#915767',
    500: '#5f0e2f',
    950: '#000000',
  },
}
SCSS
$custom: #5f0e2f;
$custom-light: #915767;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0e2f",
  "rgb": {
    "r": 95,
    "g": 14,
    "b": 47
  },
  "hsl": {
    "h": 335.556,
    "s": 74.312,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32418,
    "c": 0.11535,
    "h": 2.2
  },
  "luminance": 0.02952
}

Semantic roles & 50–950 ramp

primary
#5F0E2F
secondary
#30996E
accent
#F1A537
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0306
muted
#7E787A

Preview Lab

Preview with #5F0E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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