#5F1235#5F1235

#5F1235 is a dark, moderate pink. Relative luminance 0.031; OKLCH L 33.0% C 0.113 H 358.0°. Best body text is #FFFFFF at 12.93:1 contrast (WCAG AA passes).

Color values

HEX#5F1235
RGBrgb(95, 18, 53)
HSLhsl(333, 68%, 22%)
HSVhsv(333, 81%, 37%)
CMYKcmyk(0%, 81.1%, 44.2%, 62.7%)
CIE-LABlab(20.53, 36.85, -1.66)
CIE-LCHlch(20.53, 36.89, 357.42°)
OKLaboklab(32.98% 0.1132 -0.0039)
OKLCHoklch(32.98% 0.113 358)
XYZxyz(5.5786, 3.1233, 3.6766)
Luminance0.0312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1235 #125F3C
analogous
#5F125C #5F1235 #5F1512
triadic
#5F1235 #355F12 #12355F
tetradic
#5F1235 #5C5F12 #125F3C #15125F
square
#5F1235 #5C5F12 #125F3C #15125F
split-complementary
#5F1235 #125F15 #125C5F
monochromatic
#1A050E #2C0818 #5F1235 #921C52 #C6256E

Accessibility & contrast

On white

12.93
#5F1235 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1235
12.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1235#FFFFFF#000000##FFFFFF
##5F12351.0012.931.6212.93
#FFFFFF12.931.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232836
Deuteranopia (green-blind)
#383733
Tritanopia (blue-blind)
#670621
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1235;
/* rgb */ color: rgb(95, 18, 53);
/* oklch */ color: oklch(33.0% 0.113 358.0);
Tailwind
colors: {
  custom: {
    50: '#90586c',
    500: '#5f1235',
    950: '#000000',
  },
}
SCSS
$custom: #5f1235;
$custom-light: #90586c;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1235",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 53
  },
  "hsl": {
    "h": 332.727,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32981,
    "c": 0.11329,
    "h": 358
  },
  "luminance": 0.03123
}

Semantic roles & 50–950 ramp

primary
#5F1235
secondary
#36976B
accent
#EB9C3D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1235

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

Preview Lab → · Contrast checker → · Palette generator →

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