#5D1233#5D1233

#5D1233 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.5% C 0.111 H 358.8°. Best body text is #FFFFFF at 13.13:1 contrast (WCAG AA passes).

Color values

HEX#5D1233
RGBrgb(93, 18, 51)
HSLhsl(334, 68%, 22%)
HSVhsv(334, 81%, 36%)
CMYKcmyk(0%, 80.6%, 45.2%, 63.5%)
CIE-LABlab(20.04, 36.01, -1.02)
CIE-LCHlch(20.04, 36.02, 358.37°)
OKLaboklab(32.52% 0.1106 -0.0022)
OKLCHoklch(32.52% 0.111 358.8)
XYZxyz(5.3284, 2.9995, 3.4297)
Luminance0.0300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1233 #125D3C
analogous
#5D1259 #5D1233 #5D1712
triadic
#5D1233 #335D12 #12335D
tetradic
#5D1233 #595D12 #125D3C #17125D
square
#5D1233 #595D12 #125D3C #17125D
split-complementary
#5D1233 #125D17 #12595D
monochromatic
#1A050E #2A0817 #5D1233 #901C4F #C4266B

Accessibility & contrast

On white

13.13
#5D1233 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.60
#5D1233 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1233
13.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1233#FFFFFF#000000##FFFFFF
##5D12331.0013.131.6013.13
#FFFFFF13.131.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#222734
Deuteranopia (green-blind)
#373631
Tritanopia (blue-blind)
#650620
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1233;
/* rgb */ color: rgb(93, 18, 51);
/* oklch */ color: oklch(32.5% 0.111 358.8);
Tailwind
colors: {
  custom: {
    50: '#8f586a',
    500: '#5d1233',
    950: '#000000',
  },
}
SCSS
$custom: #5d1233;
$custom-light: #8f586a;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1233",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 51
  },
  "hsl": {
    "h": 333.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32522,
    "c": 0.11062,
    "h": 358.8
  },
  "luminance": 0.02999
}

Semantic roles & 50–950 ramp

primary
#5D1233
secondary
#35956B
accent
#EA9E3D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D1233

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

Preview Lab → · Contrast checker → · Palette generator →

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