#5F1330#5F1330

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

Color values

HEX#5F1330
RGBrgb(95, 19, 48)
HSLhsl(337, 67%, 22%)
HSVhsv(337, 80%, 37%)
CMYKcmyk(0%, 80%, 49.5%, 62.7%)
CIE-LABlab(20.49, 35.95, 1.79)
CIE-LCHlch(20.49, 35.99, 2.86°)
OKLaboklab(32.9% 0.1102 0.005)
OKLCHoklch(32.9% 0.11 2.6)
XYZxyz(5.4861, 3.1128, 3.1077)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1330 #135F42
analogous
#5F1356 #5F1330 #5F1C13
triadic
#5F1330 #305F13 #13305F
tetradic
#5F1330 #565F13 #135F42 #1C135F
square
#5F1330 #565F13 #135F42 #1C135F
split-complementary
#5F1330 #135F1C #13565F
monochromatic
#1A050D #2C0916 #5F1330 #921D4A #C52764

Accessibility & contrast

On white

12.94
#5F1330 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1330
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1330#FFFFFF#000000##FFFFFF
##5F13301.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252831
Deuteranopia (green-blind)
#39372E
Tritanopia (blue-blind)
#68051F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1330;
/* rgb */ color: rgb(95, 19, 48);
/* oklch */ color: oklch(32.9% 0.110 2.6);
Tailwind
colors: {
  custom: {
    50: '#915968',
    500: '#5f1330',
    950: '#000000',
  },
}
SCSS
$custom: #5f1330;
$custom-light: #915968;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1330",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 48
  },
  "hsl": {
    "h": 337.105,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32895,
    "c": 0.11028,
    "h": 2.6
  },
  "luminance": 0.03112
}

Semantic roles & 50–950 ramp

primary
#5F1330
secondary
#379772
accent
#EAA83E
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1330

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

Preview Lab → · Contrast checker → · Palette generator →

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