#51123E#51123E

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

Color values

HEX#51123E
RGBrgb(81, 18, 62)
HSLhsl(318, 64%, 19%)
HSVhsv(318, 78%, 32%)
CMYKcmyk(0%, 77.8%, 23.5%, 68.2%)
CIE-LABlab(18.05, 33.82, -11.98)
CIE-LCHlch(18.05, 35.88, 340.49°)
OKLaboklab(30.76% 0.1015 -0.0321)
OKLCHoklch(30.76% 0.107 342.5)
XYZxyz(4.4793, 2.5302, 4.8090)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51123E #125125
analogous
#451251 #51123E #51121F
triadic
#51123E #3E5112 #123E51
tetradic
#51123E #514512 #125125 #121F51
square
#51123E #514512 #125125 #121F51
split-complementary
#51123E #1F5112 #125145
monochromatic
#190613 #1F0718 #51123E #831D64 #B5288B

Accessibility & contrast

On white

13.94
#51123E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#51123E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51123E
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51123E#FFFFFF#000000##FFFFFF
##51123E1.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#18263F
Deuteranopia (green-blind)
#2B303D
Tritanopia (blue-blind)
#571326
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #51123e;
/* rgb */ color: rgb(81, 18, 62);
/* oklch */ color: oklch(30.8% 0.106 342.5);
Tailwind
colors: {
  custom: {
    50: '#855673',
    500: '#51123e',
    950: '#000000',
  },
}
SCSS
$custom: #51123e;
$custom-light: #855673;
$custom-dark: #000000;
JSON
{
  "hex": "#51123e",
  "rgb": {
    "r": 81,
    "g": 18,
    "b": 62
  },
  "hsl": {
    "h": 318.095,
    "s": 63.636,
    "l": 19.412
  },
  "oklch": {
    "l": 0.30765,
    "c": 0.1065,
    "h": 342.5
  },
  "luminance": 0.0253
}

Semantic roles & 50–950 ramp

primary
#51123E
secondary
#358A4F
accent
#E77341
background
#F8F5F7
surface
#EFE9ED
border
#CAC5C8
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #51123E

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

Preview Lab → · Contrast checker → · Palette generator →

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