#5F1738#5F1738

#5F1738 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.6% C 0.108 H 356.7°. Best body text is #FFFFFF at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#5F1738
RGBrgb(95, 23, 56)
HSLhsl(333, 61%, 23%)
HSVhsv(333, 76%, 37%)
CMYKcmyk(0%, 75.8%, 41.1%, 62.7%)
CIE-LABlab(21.33, 35.27, -2.58)
CIE-LCHlch(21.33, 35.37, 355.82°)
OKLaboklab(33.6% 0.1082 -0.0063)
OKLCHoklch(33.6% 0.108 356.7)
XYZxyz(5.7399, 3.3319, 4.0815)
Luminance0.0333 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1738 #175F3E
analogous
#5F175C #5F1738 #5F1A17
triadic
#5F1738 #385F17 #17385F
tetradic
#5F1738 #5C5F17 #175F3E #1A175F
square
#5F1738 #5C5F17 #175F3E #1A175F
split-complementary
#5F1738 #175F1A #175C5F
monochromatic
#19060F #2E0B1B #5F1738 #902355 #C22F72

Accessibility & contrast

On white

12.60
#5F1738 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#5F1738 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1738
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1738#FFFFFF#000000##FFFFFF
##5F17381.0012.601.6712.60
#FFFFFF12.601.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252B39
Deuteranopia (green-blind)
#393836
Tritanopia (blue-blind)
#670F25
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1738;
/* rgb */ color: rgb(95, 23, 56);
/* oklch */ color: oklch(33.6% 0.108 356.7);
Tailwind
colors: {
  custom: {
    50: '#905b6e',
    500: '#5f1738',
    950: '#000000',
  },
}
SCSS
$custom: #5f1738;
$custom-light: #905b6e;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1738",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 56
  },
  "hsl": {
    "h": 332.5,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33601,
    "c": 0.10835,
    "h": 356.7
  },
  "luminance": 0.03331
}

Semantic roles & 50–950 ramp

primary
#5F1738
secondary
#3C966D
accent
#E49B44
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F1738

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

Preview Lab → · Contrast checker → · Palette generator →

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