#5F1635#5F1635

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

Color values

HEX#5F1635
RGBrgb(95, 22, 53)
HSLhsl(335, 62%, 23%)
HSVhsv(335, 77%, 37%)
CMYKcmyk(0%, 76.8%, 44.2%, 62.7%)
CIE-LABlab(21.07, 35.33, -0.86)
CIE-LCHlch(21.07, 35.34, 358.60°)
OKLaboklab(33.38% 0.1084 -0.0018)
OKLCHoklch(33.38% 0.108 359)
XYZxyz(5.6492, 3.2645, 3.7001)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1635 #165F40
analogous
#5F1659 #5F1635 #5F1C16
triadic
#5F1635 #355F16 #16355F
tetradic
#5F1635 #595F16 #165F40 #1C165F
square
#5F1635 #595F16 #165F40 #1C165F
split-complementary
#5F1635 #165F1C #16595F
monochromatic
#19060E #2D0A19 #5F1635 #912251 #C22D6C

Accessibility & contrast

On white

12.71
#5F1635 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1635
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1635#FFFFFF#000000##FFFFFF
##5F16351.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#252A36
Deuteranopia (green-blind)
#393833
Tritanopia (blue-blind)
#670C23
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f1635;
/* rgb */ color: rgb(95, 22, 53);
/* oklch */ color: oklch(33.4% 0.108 359.0);
Tailwind
colors: {
  custom: {
    50: '#905a6c',
    500: '#5f1635',
    950: '#000000',
  },
}
SCSS
$custom: #5f1635;
$custom-light: #905a6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1635",
  "rgb": {
    "r": 95,
    "g": 22,
    "b": 53
  },
  "hsl": {
    "h": 334.521,
    "s": 62.393,
    "l": 22.941
  },
  "oklch": {
    "l": 0.3338,
    "c": 0.10839,
    "h": 359
  },
  "luminance": 0.03264
}

Semantic roles & 50–950 ramp

primary
#5F1635
secondary
#3B966F
accent
#E5A042
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1635

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

Preview Lab → · Contrast checker → · Palette generator →

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