#5F283F#5F283F

#5F283F is a dark, moderate pink. Relative luminance 0.043; OKLCH L 36.2% C 0.085 H 355.9°. Best body text is #FFFFFF at 11.28:1 contrast (WCAG AA passes).

Color values

HEX#5F283F
RGBrgb(95, 40, 63)
HSLhsl(335, 41%, 26%)
HSVhsv(335, 58%, 37%)
CMYKcmyk(0%, 57.9%, 33.7%, 62.7%)
CIE-LABlab(24.67, 27.85, -2.43)
CIE-LCHlch(24.67, 27.96, 355.01°)
OKLaboklab(36.17% 0.0846 -0.006)
OKLCHoklch(36.17% 0.085 355.9)
XYZxyz(6.3756, 4.3100, 5.1978)
Luminance0.0431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F283F #285F48
analogous
#5F285B #5F283F #5F2D28
triadic
#5F283F #3F5F28 #283F5F
tetradic
#5F283F #5B5F28 #285F48 #2D285F
square
#5F283F #5B5F28 #285F48 #2D285F
split-complementary
#5F283F #285F2D #285B5F
monochromatic
#16090E #341622 #5F283F #8A3A5C #B44D78

Accessibility & contrast

On white

11.28
#5F283F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.86
#5F283F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F283F
11.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F283F#FFFFFF#000000##FFFFFF
##5F283F1.0011.281.8611.28
#FFFFFF11.281.0021.001.00
#0000001.8621.001.0021.00
##FFFFFF11.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#303440
Deuteranopia (green-blind)
#3F3E3E
Tritanopia (blue-blind)
#662531
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #5f283f;
/* rgb */ color: rgb(95, 40, 63);
/* oklch */ color: oklch(36.2% 0.085 355.9);
Tailwind
colors: {
  custom: {
    50: '#8f6474',
    500: '#5f283f',
    950: '#000000',
  },
}
SCSS
$custom: #5f283f;
$custom-light: #8f6474;
$custom-dark: #000000;
JSON
{
  "hex": "#5f283f",
  "rgb": {
    "r": 95,
    "g": 40,
    "b": 63
  },
  "hsl": {
    "h": 334.909,
    "s": 40.741,
    "l": 26.471
  },
  "oklch": {
    "l": 0.36166,
    "c": 0.08481,
    "h": 355.9
  },
  "luminance": 0.04309
}

Semantic roles & 50–950 ramp

primary
#5F283F
secondary
#519277
accent
#D19E57
background
#F8F6F7
surface
#F0EBED
border
#CBC6C8
text
#0D0508
muted
#7D7A7B

Preview Lab

Preview with #5F283F

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

Preview Lab → · Contrast checker → · Palette generator →

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