#5D122E#5D122E

#5D122E is a dark, moderate pink. Relative luminance 0.030; OKLCH L 32.3% C 0.109 H 3.2°. Best body text is #FFFFFF at 13.20:1 contrast (WCAG AA passes).

Color values

HEX#5D122E
RGBrgb(93, 18, 46)
HSLhsl(338, 68%, 22%)
HSVhsv(338, 81%, 36%)
CMYKcmyk(0%, 80.6%, 50.5%, 63.5%)
CIE-LABlab(19.87, 35.48, 2.26)
CIE-LCHlch(19.87, 35.55, 3.65°)
OKLaboklab(32.34% 0.1087 0.0062)
OKLCHoklch(32.34% 0.109 3.2)
XYZxyz(5.2241, 2.9577, 2.8800)
Luminance0.0296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D122E #125D41
analogous
#5D1254 #5D122E #5D1C12
triadic
#5D122E #2E5D12 #122E5D
tetradic
#5D122E #545D12 #125D41 #1C125D
square
#5D122E #545D12 #125D41 #1C125D
split-complementary
#5D122E #125D1C #12545D
monochromatic
#1A050D #2A0815 #5D122E #901C47 #C42661

Accessibility & contrast

On white

13.20
#5D122E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5D122E
13.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D122E#FFFFFF#000000##FFFFFF
##5D122E1.0013.201.5913.20
#FFFFFF13.201.0021.001.00
#0000001.5921.001.0021.00
##FFFFFF13.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24272F
Deuteranopia (green-blind)
#38352C
Tritanopia (blue-blind)
#66041E
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5d122e;
/* rgb */ color: rgb(93, 18, 46);
/* oklch */ color: oklch(32.3% 0.109 3.2);
Tailwind
colors: {
  custom: {
    50: '#8f5866',
    500: '#5d122e',
    950: '#000000',
  },
}
SCSS
$custom: #5d122e;
$custom-light: #8f5866;
$custom-dark: #000000;
JSON
{
  "hex": "#5d122e",
  "rgb": {
    "r": 93,
    "g": 18,
    "b": 46
  },
  "hsl": {
    "h": 337.6,
    "s": 67.568,
    "l": 21.765
  },
  "oklch": {
    "l": 0.32344,
    "c": 0.10885,
    "h": 3.2
  },
  "luminance": 0.02957
}

Semantic roles & 50–950 ramp

primary
#5D122E
secondary
#359572
accent
#EAAA3D
background
#F9F5F6
surface
#F1E9EB
border
#CBC5C6
text
#0D0405
muted
#7E797A

Preview Lab

Preview with #5D122E

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

Preview Lab → · Contrast checker → · Palette generator →

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