#5F132A#5F132A

#5F132A is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.7% C 0.109 H 7.8°. Best body text is #FFFFFF at 13.02:1 contrast (WCAG AA passes).

Color values

HEX#5F132A
RGBrgb(95, 19, 42)
HSLhsl(342, 67%, 22%)
HSVhsv(342, 80%, 37%)
CMYKcmyk(0%, 80%, 55.8%, 62.7%)
CIE-LABlab(20.31, 35.36, 5.76)
CIE-LCHlch(20.31, 35.83, 9.26°)
OKLaboklab(32.7% 0.1077 0.0148)
OKLCHoklch(32.7% 0.109 7.8)
XYZxyz(5.3706, 3.0666, 2.4991)
Luminance0.0307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F132A #135F48
analogous
#5F1350 #5F132A #5F2213
triadic
#5F132A #2A5F13 #132A5F
tetradic
#5F132A #505F13 #135F48 #22135F
square
#5F132A #505F13 #135F48 #22135F
split-complementary
#5F132A #135F22 #13505F
monochromatic
#1A050B #2C0913 #5F132A #921D41 #C52757

Accessibility & contrast

On white

13.02
#5F132A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.61
#5F132A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F132A
13.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F132A#FFFFFF#000000##FFFFFF
##5F132A1.0013.021.6113.02
#FFFFFF13.021.0021.001.00
#0000001.6121.001.0021.00
##FFFFFF13.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#26272A
Deuteranopia (green-blind)
#3A3628
Tritanopia (blue-blind)
#68021D
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f132a;
/* rgb */ color: rgb(95, 19, 42);
/* oklch */ color: oklch(32.7% 0.109 7.8);
Tailwind
colors: {
  custom: {
    50: '#915863',
    500: '#5f132a',
    950: '#000000',
  },
}
SCSS
$custom: #5f132a;
$custom-light: #915863;
$custom-dark: #000000;
JSON
{
  "hex": "#5f132a",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 42
  },
  "hsl": {
    "h": 341.842,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.32702,
    "c": 0.10872,
    "h": 7.8
  },
  "luminance": 0.03066
}

Semantic roles & 50–950 ramp

primary
#5F132A
secondary
#37977A
accent
#EAB63E
background
#F9F5F5
surface
#F2E9EA
border
#CCC5C6
text
#0D0405
muted
#7E7979

Preview Lab

Preview with #5F132A

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

Preview Lab → · Contrast checker → · Palette generator →

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