#5F1735#5F1735

#5F1735 is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.5% C 0.107 H 359.3°. Best body text is #FFFFFF at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#5F1735
RGBrgb(95, 23, 53)
HSLhsl(335, 61%, 23%)
HSVhsv(335, 76%, 37%)
CMYKcmyk(0%, 75.8%, 44.2%, 62.7%)
CIE-LABlab(21.22, 34.92, -0.65)
CIE-LCHlch(21.22, 34.93, 358.94°)
OKLaboklab(33.49% 0.1071 -0.0013)
OKLCHoklch(33.49% 0.107 359.3)
XYZxyz(5.6687, 3.3034, 3.7066)
Luminance0.0330 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1735 #175F41
analogous
#5F1759 #5F1735 #5F1D17
triadic
#5F1735 #355F17 #17355F
tetradic
#5F1735 #595F17 #175F41 #1D175F
square
#5F1735 #595F17 #175F41 #1D175F
split-complementary
#5F1735 #175F1D #17595F
monochromatic
#19060E #2E0B1A #5F1735 #902350 #C22F6C

Accessibility & contrast

On white

12.65
#5F1735 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#5F1735 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1735
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1735#FFFFFF#000000##FFFFFF
##5F17351.0012.651.6612.65
#FFFFFF12.651.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5f1735;
/* rgb */ color: rgb(95, 23, 53);
/* oklch */ color: oklch(33.5% 0.107 359.3);
Tailwind
colors: {
  custom: {
    50: '#905b6c',
    500: '#5f1735',
    950: '#000000',
  },
}
SCSS
$custom: #5f1735;
$custom-light: #905b6c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1735",
  "rgb": {
    "r": 95,
    "g": 23,
    "b": 53
  },
  "hsl": {
    "h": 335,
    "s": 61.017,
    "l": 23.137
  },
  "oklch": {
    "l": 0.33488,
    "c": 0.10708,
    "h": 359.3
  },
  "luminance": 0.03303
}

Semantic roles & 50–950 ramp

primary
#5F1735
secondary
#3C9670
accent
#E4A144
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1735

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

Preview Lab → · Contrast checker → · Palette generator →

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