#5F133B#5F133B

#5F133B is a dark, moderate pink. Relative luminance 0.032; OKLCH L 33.3% C 0.115 H 353.2°. Best body text is #FFFFFF at 12.78:1 contrast (WCAG AA passes).

Color values

HEX#5F133B
RGBrgb(95, 19, 59)
HSLhsl(328, 67%, 22%)
HSVhsv(328, 80%, 37%)
CMYKcmyk(0%, 80%, 37.9%, 62.7%)
CIE-LABlab(20.89, 37.20, -5.32)
CIE-LCHlch(20.89, 37.58, 351.86°)
OKLaboklab(33.32% 0.1141 -0.0136)
OKLCHoklch(33.32% 0.115 353.2)
XYZxyz(5.7420, 3.2151, 4.4550)
Luminance0.0321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F133B #135F37
analogous
#5D135F #5F133B #5F1315
triadic
#5F133B #3B5F13 #133B5F
tetradic
#5F133B #5F5D13 #135F37 #13155F
square
#5F133B #5F5D13 #135F37 #13155F
split-complementary
#5F133B #155F13 #135F5D
monochromatic
#1A0510 #2C091B #5F133B #921D5B #C5277A

Accessibility & contrast

On white

12.78
#5F133B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#5F133B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F133B
12.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F133B#FFFFFF#000000##FFFFFF
##5F133B1.0012.781.6412.78
#FFFFFF12.781.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#21293C
Deuteranopia (green-blind)
#373739
Tritanopia (blue-blind)
#670C25
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #5f133b;
/* rgb */ color: rgb(95, 19, 59);
/* oklch */ color: oklch(33.3% 0.115 353.2);
Tailwind
colors: {
  custom: {
    50: '#905970',
    500: '#5f133b',
    950: '#000000',
  },
}
SCSS
$custom: #5f133b;
$custom-light: #905970;
$custom-dark: #000000;
JSON
{
  "hex": "#5f133b",
  "rgb": {
    "r": 95,
    "g": 19,
    "b": 59
  },
  "hsl": {
    "h": 328.421,
    "s": 66.667,
    "l": 22.353
  },
  "oklch": {
    "l": 0.33315,
    "c": 0.1149,
    "h": 353.2
  },
  "luminance": 0.03214
}

Semantic roles & 50–950 ramp

primary
#5F133B
secondary
#379764
accent
#EA8F3E
background
#F9F5F6
surface
#F1E9EC
border
#CBC5C7
text
#0D0407
muted
#7E797A

Preview Lab

Preview with #5F133B

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

Preview Lab → · Contrast checker → · Palette generator →

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