#5F1933#5F1933

#5F1933 is a dark, moderate pink. Relative luminance 0.034; OKLCH L 33.6% C 0.104 H 1.8°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#5F1933
RGBrgb(95, 25, 51)
HSLhsl(338, 58%, 24%)
HSVhsv(338, 74%, 37%)
CMYKcmyk(0%, 73.7%, 46.3%, 62.7%)
CIE-LABlab(21.46, 33.84, 1.10)
CIE-LCHlch(21.46, 33.86, 1.86°)
OKLaboklab(33.64% 0.1036 0.0032)
OKLCHoklch(33.64% 0.104 1.8)
XYZxyz(5.6649, 3.3679, 3.4831)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1933 #195F45
analogous
#5F1956 #5F1933 #5F2219
triadic
#5F1933 #335F19 #19335F
tetradic
#5F1933 #565F19 #195F45 #22195F
square
#5F1933 #565F19 #195F45 #22195F
split-complementary
#5F1933 #195F22 #19565F
monochromatic
#18060D #2F0C19 #5F1933 #8F264D #C03267

Accessibility & contrast

On white

12.55
#5F1933 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1933
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1933#FFFFFF#000000##FFFFFF
##5F19331.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282B34
Deuteranopia (green-blind)
#3A3831
Tritanopia (blue-blind)
#670F24
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1933;
/* rgb */ color: rgb(95, 25, 51);
/* oklch */ color: oklch(33.6% 0.104 1.8);
Tailwind
colors: {
  custom: {
    50: '#905c6a',
    500: '#5f1933',
    950: '#000000',
  },
}
SCSS
$custom: #5f1933;
$custom-light: #905c6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1933",
  "rgb": {
    "r": 95,
    "g": 25,
    "b": 51
  },
  "hsl": {
    "h": 337.714,
    "s": 58.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.33644,
    "c": 0.10363,
    "h": 1.8
  },
  "luminance": 0.03367
}

Semantic roles & 50–950 ramp

primary
#5F1933
secondary
#3F9575
accent
#E2A846
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1933

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

Preview Lab → · Contrast checker → · Palette generator →

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