#5F0F45#5F0F45

#5F0F45 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.4% C 0.125 H 344.8°. Best body text is #FFFFFF at 12.80:1 contrast (WCAG AA passes).

Color values

HEX#5F0F45
RGBrgb(95, 15, 69)
HSLhsl(320, 73%, 22%)
HSVhsv(320, 84%, 37%)
CMYKcmyk(0%, 84.2%, 27.4%, 62.7%)
CIE-LABlab(20.85, 39.87, -12.30)
CIE-LCHlch(20.85, 41.73, 342.86°)
OKLaboklab(33.43% 0.1209 -0.0328)
OKLCHoklch(33.43% 0.125 344.8)
XYZxyz(5.9646, 3.2049, 5.9336)
Luminance0.0320 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F45 #0F5F29
analogous
#510F5F #5F0F45 #5F0F1D
triadic
#5F0F45 #455F0F #0F455F
tetradic
#5F0F45 #5F510F #0F5F29 #0F1D5F
square
#5F0F45 #5F510F #0F5F29 #0F1D5F
split-complementary
#5F0F45 #1D5F0F #0F5F51
monochromatic
#1A0413 #2A071F #5F0F45 #94176B #C92092

Accessibility & contrast

On white

12.80
#5F0F45 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F0F45 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F45
12.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F45#FFFFFF#000000##FFFFFF
##5F0F451.0012.801.6412.80
#FFFFFF12.801.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A2A46
Deuteranopia (green-blind)
#333743
Tritanopia (blue-blind)
#660E29
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f0f45;
/* rgb */ color: rgb(95, 15, 69);
/* oklch */ color: oklch(33.4% 0.125 344.8);
Tailwind
colors: {
  custom: {
    50: '#905878',
    500: '#5f0f45',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f45;
$custom-light: #905878;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f45",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 69
  },
  "hsl": {
    "h": 319.5,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33429,
    "c": 0.12528,
    "h": 344.8
  },
  "luminance": 0.03204
}

Semantic roles & 50–950 ramp

primary
#5F0F45
secondary
#329853
accent
#EF7438
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0409
muted
#7E797B

Preview Lab

Preview with #5F0F45

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

Preview Lab → · Contrast checker → · Palette generator →

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