#5F0F3A#5F0F3A

#5F0F3A is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.119 H 353.3°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#5F0F3A
RGBrgb(95, 15, 58)
HSLhsl(328, 73%, 22%)
HSVhsv(328, 84%, 37%)
CMYKcmyk(0%, 84.2%, 38.9%, 62.7%)
CIE-LABlab(20.36, 38.44, -5.41)
CIE-LCHlch(20.36, 38.82, 351.99°)
OKLaboklab(32.92% 0.1181 -0.0138)
OKLCHoklch(32.92% 0.119 353.3)
XYZxyz(5.6542, 3.0807, 4.2991)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F3A #0F5F34
analogous
#5C0F5F #5F0F3A #5F0F12
triadic
#5F0F3A #3A5F0F #0F3A5F
tetradic
#5F0F3A #5F5C0F #0F5F34 #0F125F
square
#5F0F3A #5F5C0F #0F5F34 #0F125F
split-complementary
#5F0F3A #125F0F #0F5F5C
monochromatic
#1A0410 #2A071A #5F0F3A #94175A #C9207B

Accessibility & contrast

On white

13.00
#5F0F3A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F0F3A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F3A
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F3A#FFFFFF#000000##FFFFFF
##5F0F3A1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F283B
Deuteranopia (green-blind)
#363638
Tritanopia (blue-blind)
#670623
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f0f3a;
/* rgb */ color: rgb(95, 15, 58);
/* oklch */ color: oklch(32.9% 0.119 353.3);
Tailwind
colors: {
  custom: {
    50: '#905770',
    500: '#5f0f3a',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f3a;
$custom-light: #905770;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f3a",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 58
  },
  "hsl": {
    "h": 327.75,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.32921,
    "c": 0.11892,
    "h": 353.3
  },
  "luminance": 0.0308
}

Semantic roles & 50–950 ramp

primary
#5F0F3A
secondary
#329861
accent
#EF8D38
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F0F3A

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

Preview Lab → · Contrast checker → · Palette generator →

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