#51102D#51102D

#51102D is a dark, moderate pink. Relative luminance 0.023; OKLCH L 29.8% C 0.099 H 358.0°. Best body text is #FFFFFF at 14.37:1 contrast (WCAG AA passes).

Color values

HEX#51102D
RGBrgb(81, 16, 45)
HSLhsl(333, 67%, 19%)
HSVhsv(333, 80%, 32%)
CMYKcmyk(0%, 80.2%, 44.4%, 68.2%)
CIE-LABlab(17.04, 32.28, -1.47)
CIE-LCHlch(17.04, 32.31, 357.40°)
OKLaboklab(29.78% 0.0991 -0.0034)
OKLCHoklch(29.78% 0.099 358)
XYZxyz(4.0526, 2.3099, 2.7146)
Luminance0.0231 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51102D #105134
analogous
#51104E #51102D #511410
triadic
#51102D #2D5110 #102D51
tetradic
#51102D #4E5110 #105134 #141051
square
#51102D #4E5110 #105134 #141051
split-complementary
#51102D #105114 #104E51
monochromatic
#1A050E #1E0611 #51102D #841A49 #B72466

Accessibility & contrast

On white

14.37
#51102D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51102D
14.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51102D#FFFFFF#000000##FFFFFF
##51102D1.0014.371.4614.37
#FFFFFF14.371.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222E
Deuteranopia (green-blind)
#2F2E2C
Tritanopia (blue-blind)
#58071C
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51102d;
/* rgb */ color: rgb(81, 16, 45);
/* oklch */ color: oklch(29.8% 0.099 358.0);
Tailwind
colors: {
  custom: {
    50: '#855565',
    500: '#51102d',
    950: '#000000',
  },
}
SCSS
$custom: #51102d;
$custom-light: #855565;
$custom-dark: #000000;
JSON
{
  "hex": "#51102d",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 45
  },
  "hsl": {
    "h": 333.231,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29781,
    "c": 0.09915,
    "h": 358
  },
  "luminance": 0.02309
}

Semantic roles & 50–950 ramp

primary
#51102D
secondary
#328B63
accent
#EA9D3E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0305
muted
#7C787A

Preview Lab

Preview with #51102D

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

Preview Lab → · Contrast checker → · Palette generator →

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