#5D1230#5D1230

#5D1230 is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.4% C 0.110 H 1.5°. Best body text is #FFFFFF at 13.17:1 contrast (WCAG AA passes).

Color values

HEX#5D1230
RGBrgb(93, 18, 48)
HSLhsl(336, 68%, 22%)
HSVhsv(336, 81%, 36%)
CMYKcmyk(0%, 80.6%, 48.4%, 63.5%)
CIE-LABlab(19.94, 35.68, 0.94)
CIE-LCHlch(19.94, 35.70, 1.51°)
OKLaboklab(32.41% 0.1095 0.0028)
OKLCHoklch(32.41% 0.11 1.5)
XYZxyz(5.2644, 2.9739, 3.0925)
Luminance0.0297 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D1230 #125D3F
analogous
#5D1256 #5D1230 #5D1A12
triadic
#5D1230 #305D12 #12305D
tetradic
#5D1230 #565D12 #125D3F #1A125D
square
#5D1230 #565D12 #125D3F #1A125D
split-complementary
#5D1230 #125D1A #12565D
monochromatic
#1A050D #2A0816 #5D1230 #901C4A #C42665

Accessibility & contrast

On white

13.17
#5D1230 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.59
#5D1230 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #5D1230
13.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D1230#FFFFFF#000000##FFFFFF
##5D12301.0013.171.5913.17
#FFFFFF13.171.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#232731
Deuteranopia (green-blind)
#37352E
Tritanopia (blue-blind)
#66051F
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d1230;
/* rgb */ color: rgb(93, 18, 48);
/* oklch */ color: oklch(32.4% 0.110 1.5);
Tailwind
colors: {
  custom: {
    50: '#8f5868',
    500: '#5d1230',
    950: '#000000',
  },
}
SCSS
$custom: #5d1230;
$custom-light: #8f5868;
$custom-dark: #000000;
JSON
{
  "hex": "#5d1230",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 48
  },
  "hsl": {
    "h": 336,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32413,
    "c": 0.1095,
    "h": 1.5
  },
  "luminance": 0.02973
}

Semantic roles & 50–950 ramp

primary
#5D1230
secondary
#35956F
accent
#EAA53D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0406
muted
#7E797A

Preview Lab

Preview with #5D1230

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

Preview Lab → · Contrast checker → · Palette generator →

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