#51102B#51102B

#51102B is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.7% C 0.098 H 0.0°. Best body text is #FFFFFF at 14.40:1 contrast (WCAG AA passes).

Color values

HEX#51102B
RGBrgb(81, 16, 43)
HSLhsl(335, 67%, 19%)
HSVhsv(335, 80%, 32%)
CMYKcmyk(0%, 80.2%, 46.9%, 68.2%)
CIE-LABlab(16.96, 32.05, -0.14)
CIE-LCHlch(16.96, 32.05, 359.76°)
OKLaboklab(29.71% 0.0983 0)
OKLCHoklch(29.71% 0.098 0)
XYZxyz(4.0150, 2.2948, 2.5166)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51102B #105136
analogous
#51104C #51102B #511610
triadic
#51102B #2B5110 #102B51
tetradic
#51102B #4C5110 #105136 #161051
square
#51102B #4C5110 #105136 #161051
split-complementary
#51102B #105116 #104C51
monochromatic
#1A050E #1E0610 #51102B #841A46 #B72461

Accessibility & contrast

On white

14.40
#51102B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#51102B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51102B
14.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51102B#FFFFFF#000000##FFFFFF
##51102B1.0014.401.4614.40
#FFFFFF14.401.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222C
Deuteranopia (green-blind)
#302E29
Tritanopia (blue-blind)
#58061C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51102b;
/* rgb */ color: rgb(81, 16, 43);
/* oklch */ color: oklch(29.7% 0.098 0.0);
Tailwind
colors: {
  custom: {
    50: '#865564',
    500: '#51102b',
    950: '#000000',
  },
}
SCSS
$custom: #51102b;
$custom-light: #865564;
$custom-dark: #000000;
JSON
{
  "hex": "#51102b",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 43
  },
  "hsl": {
    "h": 335.077,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29705,
    "c": 0.09833,
    "h": 0
  },
  "luminance": 0.02294
}

Semantic roles & 50–950 ramp

primary
#51102B
secondary
#328B66
accent
#EAA23E
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #51102B

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

Preview Lab → · Contrast checker → · Palette generator →

#51102B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva