#5F1234#5F1234

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

Color values

HEX#5F1234
RGBrgb(95, 18, 52)
HSLhsl(334, 68%, 22%)
HSVhsv(334, 81%, 37%)
CMYKcmyk(0%, 81.1%, 45.3%, 62.7%)
CIE-LABlab(20.50, 36.74, -1.01)
CIE-LCHlch(20.50, 36.75, 358.43°)
OKLaboklab(32.94% 0.1129 -0.0022)
OKLCHoklch(32.94% 0.113 358.9)
XYZxyz(5.5559, 3.1142, 3.5567)
Luminance0.0311 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F1234 #125F3D
analogous
#5F125B #5F1234 #5F1612
triadic
#5F1234 #345F12 #12345F
tetradic
#5F1234 #5B5F12 #125F3D #16125F
square
#5F1234 #5B5F12 #125F3D #16125F
split-complementary
#5F1234 #125F16 #125B5F
monochromatic
#1A050E #2C0818 #5F1234 #921C50 #C6256C

Accessibility & contrast

On white

12.94
#5F1234 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5F1234
12.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F1234#FFFFFF#000000##FFFFFF
##5F12341.0012.941.6212.94
#FFFFFF12.941.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232835
Deuteranopia (green-blind)
#383732
Tritanopia (blue-blind)
#680621
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #5f1234;
/* rgb */ color: rgb(95, 18, 52);
/* oklch */ color: oklch(32.9% 0.113 358.9);
Tailwind
colors: {
  custom: {
    50: '#90586b',
    500: '#5f1234',
    950: '#000000',
  },
}
SCSS
$custom: #5f1234;
$custom-light: #90586b;
$custom-dark: #000000;
JSON
{
  "hex": "#5f1234",
  "rgb": {
    "r": 95,
    "g": 18,
    "b": 52
  },
  "hsl": {
    "h": 333.506,
    "s": 68.142,
    "l": 22.157
  },
  "oklch": {
    "l": 0.32943,
    "c": 0.11288,
    "h": 358.9
  },
  "luminance": 0.03113
}

Semantic roles & 50–950 ramp

primary
#5F1234
secondary
#36976C
accent
#EB9E3D
background
#F9F5F6
surface
#F2E9EB
border
#CCC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5F1234

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

Preview Lab → · Contrast checker → · Palette generator →

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