#5F1034#5F1034

#5F1034 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.8% C 0.115 H 358.4°. Best body text is #FFFFFF at 13.04:1 contrast (WCAG AA passes).

Color values

HEX#5F1034
RGBrgb(95, 16, 52)
HSLhsl(333, 71%, 22%)
HSVhsv(333, 83%, 37%)
CMYKcmyk(0%, 83.2%, 45.3%, 62.7%)
CIE-LABlab(20.25, 37.43, -1.37)
CIE-LCHlch(20.25, 37.46, 357.91°)
OKLaboklab(32.77% 0.1151 -0.0031)
OKLCHoklch(32.77% 0.115 358.4)
XYZxyz(5.5249, 3.0521, 3.5463)
Luminance0.0305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1034 #105F3B
analogous
#5F105C #5F1034 #5F1410
triadic
#5F1034 #345F10 #10345F
tetradic
#5F1034 #5C5F10 #105F3B #14105F
square
#5F1034 #5C5F10 #105F3B #14105F
split-complementary
#5F1034 #105F14 #105C5F
monochromatic
#1A040E #2B0717 #5F1034 #931951 #C8226D

Accessibility & contrast

On white

13.04
#5F1034 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F1034 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1034
13.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1034#FFFFFF#000000##FFFFFF
##5F10341.0013.041.6113.04
#FFFFFF13.041.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.041.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1034;
/* rgb */ color: rgb(95, 16, 52);
/* oklch */ color: oklch(32.8% 0.115 358.4);
Tailwind
colors: {
  custom: {
    50: '#91586b',
    500: '#5f1034',
    950: '#000000',
  },
}
SCSS
$custom: #5f1034;
$custom-light: #91586b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1034",
  "rgb": {
    "r": 95,
    "g": 16,
    "b": 52
  },
  "hsl": {
    "h": 332.658,
    "s": 71.171,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32765,
    "c": 0.11511,
    "h": 358.4
  },
  "luminance": 0.03051
}

Semantic roles & 50–950 ramp

primary
#5F1034
secondary
#33986A
accent
#EE9C3A
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1034

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

Preview Lab → · Contrast checker → · Palette generator →

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