#5F1233#5F1233

#5F1233 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 32.9% C 0.112 H 359.7°. Best body text is #FFFFFF at 12.95:1 contrast (WCAG AA passes).

Color values

HEX#5F1233
RGBrgb(95, 18, 51)
HSLhsl(334, 68%, 22%)
HSVhsv(334, 81%, 37%)
CMYKcmyk(0%, 81.1%, 46.3%, 62.7%)
CIE-LABlab(20.46, 36.63, -0.36)
CIE-LCHlch(20.46, 36.63, 359.44°)
OKLaboklab(32.91% 0.1125 -0.0005)
OKLCHoklch(32.91% 0.112 359.7)
XYZxyz(5.5336, 3.1052, 3.4393)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1233 #125F3E
analogous
#5F125A #5F1233 #5F1812
triadic
#5F1233 #335F12 #12335F
tetradic
#5F1233 #5A5F12 #125F3E #18125F
square
#5F1233 #5A5F12 #125F3E #18125F
split-complementary
#5F1233 #125F18 #125A5F
monochromatic
#1A050E #2C0817 #5F1233 #921C4F #C6256A

Accessibility & contrast

On white

12.95
#5F1233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#5F1233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5F1233
12.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1233#FFFFFF#000000##FFFFFF
##5F12331.0012.951.6212.95
#FFFFFF12.951.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232834
Deuteranopia (green-blind)
#383731
Tritanopia (blue-blind)
#680520
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1233;
/* rgb */ color: rgb(95, 18, 51);
/* oklch */ color: oklch(32.9% 0.112 359.7);
Tailwind
colors: {
  custom: {
    50: '#91586a',
    500: '#5f1233',
    950: '#000000',
  },
}
SCSS
$custom: #5f1233;
$custom-light: #91586a;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1233",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 334.286,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32906,
    "c": 0.11249,
    "h": 359.7
  },
  "luminance": 0.03105
}

Semantic roles & 50–950 ramp

primary
#5F1233
secondary
#36976D
accent
#EBA03D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1233

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

Preview Lab → · Contrast checker → · Palette generator →

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