#5B123C#5B123C

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

Color values

HEX#5B123C
RGBrgb(91, 18, 60)
HSLhsl(325, 67%, 21%)
HSVhsv(325, 80%, 36%)
CMYKcmyk(0%, 80.2%, 34.1%, 64.3%)
CIE-LABlab(19.98, 36.50, -7.47)
CIE-LCHlch(19.98, 37.26, 348.44°)
OKLaboklab(32.51% 0.1116 -0.0195)
OKLCHoklch(32.51% 0.113 350.1)
XYZxyz(5.3466, 2.9836, 4.5684)
Luminance0.0298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B123C #125B31
analogous
#56125B #5B123C #5B1218
triadic
#5B123C #3C5B12 #123C5B
tetradic
#5B123C #5B5612 #125B31 #12185B
square
#5B123C #5B5612 #125B31 #12185B
split-complementary
#5B123C #185B12 #125B56
monochromatic
#1A0511 #28081A #5B123C #8E1C5E #C1267F

Accessibility & contrast

On white

13.15
#5B123C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #5B123C
13.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B123C#FFFFFF#000000##FFFFFF
##5B123C1.0013.151.6013.15
#FFFFFF13.151.0021.001.00
#0000001.6021.001.0021.00
##FFFFFF13.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E283D
Deuteranopia (green-blind)
#33353A
Tritanopia (blue-blind)
#620D25
Achromatopsia (no color)
#303030

Design tokens & code

CSS
--color: #5b123c;
/* rgb */ color: rgb(91, 18, 60);
/* oklch */ color: oklch(32.5% 0.113 350.1);
Tailwind
colors: {
  custom: {
    50: '#8d5871',
    500: '#5b123c',
    950: '#000000',
  },
}
SCSS
$custom: #5b123c;
$custom-light: #8d5871;
$custom-dark: #000000;
JSON
{
  "hex": "#5b123c",
  "rgb": {
    "r": 91,
    "g": 18,
    "b": 60
  },
  "hsl": {
    "h": 325.479,
    "s": 66.972,
    "l": 21.373
  },
  "oklch": {
    "l": 0.32514,
    "c": 0.11328,
    "h": 350.1
  },
  "luminance": 0.02983
}

Semantic roles & 50–950 ramp

primary
#5B123C
secondary
#35935D
accent
#EA873E
background
#F8F5F6
surface
#F0E9EC
border
#CBC5C7
text
#0D0407
muted
#7D797A

Preview Lab

Preview with #5B123C

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

Preview Lab → · Contrast checker → · Palette generator →

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