#5F1530#5F1530

#5F1530 is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.1% C 0.108 H 3.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#5F1530
RGBrgb(95, 21, 48)
HSLhsl(338, 64%, 23%)
HSVhsv(338, 78%, 37%)
CMYKcmyk(0%, 77.9%, 49.5%, 62.7%)
CIE-LABlab(20.76, 35.18, 2.19)
CIE-LCHlch(20.76, 35.25, 3.56°)
OKLaboklab(33.1% 0.1077 0.006)
OKLCHoklch(33.1% 0.108 3.2)
XYZxyz(5.5214, 3.1834, 3.1194)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1530 #155F44
analogous
#5F1555 #5F1530 #5F1F15
triadic
#5F1530 #305F15 #15305F
tetradic
#5F1530 #555F15 #155F44 #1F155F
square
#5F1530 #555F15 #155F44 #1F155F
split-complementary
#5F1530 #155F1F #15555F
monochromatic
#19060D #2D0A17 #5F1530 #912049 #C32B63

Accessibility & contrast

On white

12.83
#5F1530 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1530
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1530#FFFFFF#000000##FFFFFF
##5F15301.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262931
Deuteranopia (green-blind)
#3A372E
Tritanopia (blue-blind)
#680820
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1530;
/* rgb */ color: rgb(95, 21, 48);
/* oklch */ color: oklch(33.1% 0.108 3.2);
Tailwind
colors: {
  custom: {
    50: '#915a68',
    500: '#5f1530',
    950: '#000000',
  },
}
SCSS
$custom: #5f1530;
$custom-light: #915a68;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1530",
  "rgb": {
    "r": 95,
    "g": 21,
    "b": 48
  },
  "hsl": {
    "h": 338.108,
    "s": 63.793,
    "l": 22.745
  },
  "oklch": {
    "l": 0.33097,
    "c": 0.10788,
    "h": 3.2
  },
  "luminance": 0.03183
}

Semantic roles & 50–950 ramp

primary
#5F1530
secondary
#3A9674
accent
#E7AA41
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1530

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

Preview Lab → · Contrast checker → · Palette generator →

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