#5F0F26#5F0F26

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

Color values

HEX#5F0F26
RGBrgb(95, 15, 38)
HSLhsl(343, 73%, 22%)
HSVhsv(343, 84%, 37%)
CMYKcmyk(0%, 84.2%, 60%, 62.7%)
CIE-LABlab(19.70, 36.42, 7.75)
CIE-LCHlch(19.70, 37.24, 12.01°)
OKLaboklab(32.22% 0.1105 0.0195)
OKLCHoklch(32.22% 0.112 10)
XYZxyz(5.2405, 2.9152, 2.1201)
Luminance0.0291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F26 #0F5F48
analogous
#5F0F4E #5F0F26 #5F200F
triadic
#5F0F26 #265F0F #0F265F
tetradic
#5F0F26 #4E5F0F #0F5F48 #200F5F
square
#5F0F26 #4E5F0F #0F5F48 #200F5F
split-complementary
#5F0F26 #0F5F20 #0F4E5F
monochromatic
#1A040B #2A0711 #5F0F26 #94173B #C92050

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##5F0F26#FFFFFF#000000##FFFFFF
##5F0F261.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)
#252526
Deuteranopia (green-blind)
#3A3524
Tritanopia (blue-blind)
#690019
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5f0f26;
/* rgb */ color: rgb(95, 15, 38);
/* oklch */ color: oklch(32.2% 0.112 10.0);
Tailwind
colors: {
  custom: {
    50: '#925760',
    500: '#5f0f26',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f26;
$custom-light: #925760;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f26",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 38
  },
  "hsl": {
    "h": 342.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32219,
    "c": 0.1122,
    "h": 10
  },
  "luminance": 0.02914
}

Semantic roles & 50–950 ramp

primary
#5F0F26
secondary
#32987B
accent
#EFBB38
background
#F9F5F5
surface
#F2E9E9
border
#CCC5C5
text
#0E0304
muted
#7E7879

Preview Lab

Preview with #5F0F26

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

Preview Lab → · Contrast checker → · Palette generator →

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