#5F1633#5F1633

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

Color values

HEX#5F1633
RGBrgb(95, 22, 51)
HSLhsl(336, 62%, 23%)
HSVhsv(336, 77%, 37%)
CMYKcmyk(0%, 76.8%, 46.3%, 62.7%)
CIE-LABlab(21.00, 35.10, 0.44)
CIE-LCHlch(21.00, 35.11, 0.71°)
OKLaboklab(33.31% 0.1076 0.0015)
OKLCHoklch(33.31% 0.108 0.8)
XYZxyz(5.6042, 3.2464, 3.4628)
Luminance0.0325 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1633 #165F42
analogous
#5F1657 #5F1633 #5F1D16
triadic
#5F1633 #335F16 #16335F
tetradic
#5F1633 #575F16 #165F42 #1D165F
square
#5F1633 #575F16 #165F42 #1D165F
split-complementary
#5F1633 #165F1D #16575F
monochromatic
#19060D #2D0A18 #5F1633 #91224E #C22D68

Accessibility & contrast

On white

12.73
#5F1633 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#5F1633 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1633
12.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1633#FFFFFF#000000##FFFFFF
##5F16331.0012.731.6512.73
#FFFFFF12.731.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#262A34
Deuteranopia (green-blind)
#393831
Tritanopia (blue-blind)
#680B22
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f1633;
/* rgb */ color: rgb(95, 22, 51);
/* oklch */ color: oklch(33.3% 0.108 0.8);
Tailwind
colors: {
  custom: {
    50: '#905a6a',
    500: '#5f1633',
    950: '#000000',
  },
}
SCSS
$custom: #5f1633;
$custom-light: #905a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1633",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 51
  },
  "hsl": {
    "h": 336.164,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.33307,
    "c": 0.10762,
    "h": 0.8
  },
  "luminance": 0.03246
}

Semantic roles & 50–950 ramp

primary
#5F1633
secondary
#3B9672
accent
#E5A542
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1633

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

Preview Lab → · Contrast checker → · Palette generator →

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