#5F0F43#5F0F43

#5F0F43 is a dark, vivid pink. Relative luminance 0.032; OKLCH L 33.3% C 0.124 H 346.3°. Best body text is #FFFFFF at 12.84:1 contrast (WCAG AA passes).

Color values

HEX#5F0F43
RGBrgb(95, 15, 67)
HSLhsl(321, 73%, 22%)
HSVhsv(321, 84%, 37%)
CMYKcmyk(0%, 84.2%, 29.5%, 62.7%)
CIE-LABlab(20.75, 39.60, -11.06)
CIE-LCHlch(20.75, 41.11, 344.39°)
OKLaboklab(33.33% 0.1205 -0.0293)
OKLCHoklch(33.33% 0.124 346.3)
XYZxyz(5.9035, 3.1805, 5.6121)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F43 #0F5F2B
analogous
#530F5F #5F0F43 #5F0F1B
triadic
#5F0F43 #435F0F #0F435F
tetradic
#5F0F43 #5F530F #0F5F2B #0F1B5F
square
#5F0F43 #5F530F #0F5F2B #0F1B5F
split-complementary
#5F0F43 #1B5F0F #0F5F53
monochromatic
#1A0413 #2A071E #5F0F43 #941768 #C9208E

Accessibility & contrast

On white

12.84
#5F0F43 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F0F43
12.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F43#FFFFFF#000000##FFFFFF
##5F0F431.0012.841.6412.84
#FFFFFF12.841.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B2944
Deuteranopia (green-blind)
#333741
Tritanopia (blue-blind)
#660C28
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f0f43;
/* rgb */ color: rgb(95, 15, 67);
/* oklch */ color: oklch(33.3% 0.124 346.3);
Tailwind
colors: {
  custom: {
    50: '#905877',
    500: '#5f0f43',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f43;
$custom-light: #905877;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f43",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 67
  },
  "hsl": {
    "h": 321,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33331,
    "c": 0.12402,
    "h": 346.3
  },
  "luminance": 0.0318
}

Semantic roles & 50–950 ramp

primary
#5F0F43
secondary
#329855
accent
#EF7838
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F0F43

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

Preview Lab → · Contrast checker → · Palette generator →

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