#51123D#51123D

#51123D is a dark, moderate pink. Relative luminance 0.025; OKLCH L 30.7% C 0.106 H 343.3°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#51123D
RGBrgb(81, 18, 61)
HSLhsl(319, 64%, 19%)
HSVhsv(319, 78%, 32%)
CMYKcmyk(0%, 77.8%, 24.7%, 68.2%)
CIE-LABlab(18.01, 33.66, -11.36)
CIE-LCHlch(18.01, 35.53, 341.36°)
OKLaboklab(30.71% 0.1013 -0.0304)
OKLCHoklch(30.71% 0.106 343.3)
XYZxyz(4.4521, 2.5193, 4.6658)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51123D #125126
analogous
#461251 #51123D #51121E
triadic
#51123D #3D5112 #123D51
tetradic
#51123D #514612 #125126 #121E51
square
#51123D #514612 #125126 #121E51
split-complementary
#51123D #1E5112 #125146
monochromatic
#190613 #1F0717 #51123D #831D63 #B52888

Accessibility & contrast

On white

13.96
#51123D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#51123D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51123D
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51123D#FFFFFF#000000##FFFFFF
##51123D1.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18253E
Deuteranopia (green-blind)
#2C303C
Tritanopia (blue-blind)
#571225
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51123d;
/* rgb */ color: rgb(81, 18, 61);
/* oklch */ color: oklch(30.7% 0.106 343.3);
Tailwind
colors: {
  custom: {
    50: '#855672',
    500: '#51123d',
    950: '#000000',
  },
}
SCSS
$custom: #51123d;
$custom-light: #855672;
$custom-dark: #000000;
JSON
{
  "hex": "#51123d",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 61
  },
  "hsl": {
    "h": 319.048,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30714,
    "c": 0.10578,
    "h": 343.3
  },
  "luminance": 0.02519
}

Semantic roles & 50–950 ramp

primary
#51123D
secondary
#358A50
accent
#E77641
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #51123D

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

Preview Lab → · Contrast checker → · Palette generator →

#51123D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva