#5F182C#5F182C

#5F182C is a dark, moderate pink. Relative luminance 0.033; OKLCH L 33.3% C 0.103 H 7.9°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#5F182C
RGBrgb(95, 24, 44)
HSLhsl(343, 60%, 23%)
HSVhsv(343, 75%, 37%)
CMYKcmyk(0%, 74.7%, 53.7%, 62.7%)
CIE-LABlab(21.09, 33.54, 5.46)
CIE-LCHlch(21.09, 33.98, 9.24°)
OKLaboklab(33.3% 0.1021 0.0141)
OKLCHoklch(33.3% 0.103 7.9)
XYZxyz(5.5010, 3.2687, 2.7236)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F182C #185F4B
analogous
#5F184F #5F182C #5F2718
triadic
#5F182C #2C5F18 #182C5F
tetradic
#5F182C #4F5F18 #185F4B #27185F
square
#5F182C #4F5F18 #185F4B #27185F
split-complementary
#5F182C #185F27 #184F5F
monochromatic
#18060B #2E0C15 #5F182C #902443 #C13159

Accessibility & contrast

On white

12.70
#5F182C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F182C
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F182C#FFFFFF#000000##FFFFFF
##5F182C1.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#292A2C
Deuteranopia (green-blind)
#3B382A
Tritanopia (blue-blind)
#680B20
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f182c;
/* rgb */ color: rgb(95, 24, 44);
/* oklch */ color: oklch(33.3% 0.103 7.9);
Tailwind
colors: {
  custom: {
    50: '#915b64',
    500: '#5f182c',
    950: '#000000',
  },
}
SCSS
$custom: #5f182c;
$custom-light: #915b64;
$custom-dark: #000000;
JSON
{
  "hex": "#5f182c",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 44
  },
  "hsl": {
    "h": 343.099,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33299,
    "c": 0.10306,
    "h": 7.9
  },
  "luminance": 0.03268
}

Semantic roles & 50–950 ramp

primary
#5F182C
secondary
#3D957D
accent
#E3B645
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5F182C

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

Preview Lab → · Contrast checker → · Palette generator →

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