#5F0F34#5F0F34

#5F0F34 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.7% C 0.116 H 358.2°. Best body text is #FFFFFF at 13.09:1 contrast (WCAG AA passes).

Color values

HEX#5F0F34
RGBrgb(95, 15, 52)
HSLhsl(332, 73%, 22%)
HSVhsv(332, 84%, 37%)
CMYKcmyk(0%, 84.2%, 45.3%, 62.7%)
CIE-LABlab(20.14, 37.76, -1.54)
CIE-LCHlch(20.14, 37.79, 357.67°)
OKLaboklab(32.68% 0.1161 -0.0036)
OKLCHoklch(32.68% 0.116 358.2)
XYZxyz(5.5104, 3.0232, 3.5415)
Luminance0.0302 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F34 #0F5F3A
analogous
#5F0F5C #5F0F34 #5F120F
triadic
#5F0F34 #345F0F #0F345F
tetradic
#5F0F34 #5C5F0F #0F5F3A #120F5F
square
#5F0F34 #5C5F0F #0F5F3A #120F5F
split-complementary
#5F0F34 #0F5F12 #0F5C5F
monochromatic
#1A040E #2A0717 #5F0F34 #941751 #C9206E

Accessibility & contrast

On white

13.09
#5F0F34 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F34
13.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F34#FFFFFF#000000##FFFFFF
##5F0F341.0013.091.6013.09
#FFFFFF13.091.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#212735
Deuteranopia (green-blind)
#373632
Tritanopia (blue-blind)
#680220
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f0f34;
/* rgb */ color: rgb(95, 15, 52);
/* oklch */ color: oklch(32.7% 0.116 358.2);
Tailwind
colors: {
  custom: {
    50: '#91576b',
    500: '#5f0f34',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f34;
$custom-light: #91576b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f34",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 52
  },
  "hsl": {
    "h": 332.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.3268,
    "c": 0.11617,
    "h": 358.2
  },
  "luminance": 0.03022
}

Semantic roles & 50–950 ramp

primary
#5F0F34
secondary
#329869
accent
#EF9B38
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F0F34

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

Preview Lab → · Contrast checker → · Palette generator →

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