#5F182F#5F182F

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

Color values

HEX#5F182F
RGBrgb(95, 24, 47)
HSLhsl(341, 60%, 23%)
HSVhsv(341, 75%, 37%)
CMYKcmyk(0%, 74.7%, 50.5%, 62.7%)
CIE-LABlab(21.18, 33.84, 3.48)
CIE-LCHlch(21.18, 34.02, 5.88°)
OKLaboklab(33.39% 0.1034 0.0093)
OKLCHoklch(33.39% 0.104 5.1)
XYZxyz(5.5595, 3.2921, 3.0315)
Luminance0.0329 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F182F #185F48
analogous
#5F1852 #5F182F #5F2418
triadic
#5F182F #2F5F18 #182F5F
tetradic
#5F182F #525F18 #185F48 #24185F
square
#5F182F #525F18 #185F48 #24185F
split-complementary
#5F182F #185F24 #18525F
monochromatic
#18060C #2E0C17 #5F182F #902447 #C1315F

Accessibility & contrast

On white

12.66
#5F182F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F182F
12.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F182F#FFFFFF#000000##FFFFFF
##5F182F1.0012.661.6612.66
#FFFFFF12.661.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282A30
Deuteranopia (green-blind)
#3B382D
Tritanopia (blue-blind)
#680C21
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #5f182f;
/* rgb */ color: rgb(95, 24, 47);
/* oklch */ color: oklch(33.4% 0.104 5.1);
Tailwind
colors: {
  custom: {
    50: '#915b67',
    500: '#5f182f',
    950: '#000000',
  },
}
SCSS
$custom: #5f182f;
$custom-light: #915b67;
$custom-dark: #000000;
JSON
{
  "hex": "#5f182f",
  "rgb": {
    "r": 95,
    "g": 24,
    "b": 47
  },
  "hsl": {
    "h": 340.563,
    "s": 59.664,
    "l": 23.333
  },
  "oklch": {
    "l": 0.33393,
    "c": 0.10376,
    "h": 5.1
  },
  "luminance": 0.03291
}

Semantic roles & 50–950 ramp

primary
#5F182F
secondary
#3D9579
accent
#E3B045
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F182F

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

Preview Lab → · Contrast checker → · Palette generator →

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