#5F0F40#5F0F40

#5F0F40 is a dark, vivid pink. Relative luminance 0.031; OKLCH L 33.2% C 0.122 H 348.6°. Best body text is #FFFFFF at 12.89:1 contrast (WCAG AA passes).

Color values

HEX#5F0F40
RGBrgb(95, 15, 64)
HSLhsl(323, 73%, 22%)
HSVhsv(323, 84%, 37%)
CMYKcmyk(0%, 84.2%, 32.6%, 62.7%)
CIE-LABlab(20.62, 39.20, -9.20)
CIE-LCHlch(20.62, 40.26, 346.79°)
OKLaboklab(33.19% 0.1198 -0.0242)
OKLCHoklch(33.19% 0.122 348.6)
XYZxyz(5.8159, 3.1454, 5.1503)
Luminance0.0314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F0F40 #0F5F2E
analogous
#560F5F #5F0F40 #5F0F18
triadic
#5F0F40 #405F0F #0F405F
tetradic
#5F0F40 #5F560F #0F5F2E #0F185F
square
#5F0F40 #5F560F #0F5F2E #0F185F
split-complementary
#5F0F40 #185F0F #0F5F56
monochromatic
#1A0412 #2A071C #5F0F40 #941764 #C92087

Accessibility & contrast

On white

12.89
#5F0F40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#5F0F40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F0F40
12.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F0F40#FFFFFF#000000##FFFFFF
##5F0F401.0012.891.6312.89
#FFFFFF12.891.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D2941
Deuteranopia (green-blind)
#34373E
Tritanopia (blue-blind)
#660A26
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f0f40;
/* rgb */ color: rgb(95, 15, 64);
/* oklch */ color: oklch(33.2% 0.122 348.6);
Tailwind
colors: {
  custom: {
    50: '#905874',
    500: '#5f0f40',
    950: '#000000',
  },
}
SCSS
$custom: #5f0f40;
$custom-light: #905874;
$custom-dark: #000000;
JSON
{
  "hex": "#5f0f40",
  "rgb": {
    "r": 95,
    "g": 15,
    "b": 64
  },
  "hsl": {
    "h": 323.25,
    "s": 72.727,
    "l": 21.569
  },
  "oklch": {
    "l": 0.33188,
    "c": 0.1222,
    "h": 348.6
  },
  "luminance": 0.03145
}

Semantic roles & 50–950 ramp

primary
#5F0F40
secondary
#329859
accent
#EF7F38
background
#F9F5F7
surface
#F1E9ED
border
#CBC5C8
text
#0D0408
muted
#7E797B

Preview Lab

Preview with #5F0F40

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

Preview Lab → · Contrast checker → · Palette generator →

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