#51102A#51102A

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

Color values

HEX#51102A
RGBrgb(81, 16, 42)
HSLhsl(336, 67%, 19%)
HSVhsv(336, 80%, 32%)
CMYKcmyk(0%, 80.2%, 48.1%, 68.2%)
CIE-LABlab(16.93, 31.94, 0.53)
CIE-LCHlch(16.93, 31.94, 0.96°)
OKLaboklab(29.67% 0.0979 0.0017)
OKLCHoklch(29.67% 0.098 1)
XYZxyz(3.9969, 2.2876, 2.4211)
Luminance0.0229 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51102A #105137
analogous
#51104B #51102A #511710
triadic
#51102A #2A5110 #102A51
tetradic
#51102A #4B5110 #105137 #171051
square
#51102A #4B5110 #105137 #171051
split-complementary
#51102A #105117 #104B51
monochromatic
#1A050D #1E0610 #51102A #841A44 #B7245F

Accessibility & contrast

On white

14.41
#51102A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51102A
14.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51102A#FFFFFF#000000##FFFFFF
##51102A1.0014.411.4614.41
#FFFFFF14.411.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E222B
Deuteranopia (green-blind)
#302E28
Tritanopia (blue-blind)
#59061B
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51102a;
/* rgb */ color: rgb(81, 16, 42);
/* oklch */ color: oklch(29.7% 0.098 1.0);
Tailwind
colors: {
  custom: {
    50: '#865563',
    500: '#51102a',
    950: '#000000',
  },
}
SCSS
$custom: #51102a;
$custom-light: #865563;
$custom-dark: #000000;
JSON
{
  "hex": "#51102a",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 42
  },
  "hsl": {
    "h": 336,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29668,
    "c": 0.09796,
    "h": 1
  },
  "luminance": 0.02287
}

Semantic roles & 50–950 ramp

primary
#51102A
secondary
#328B67
accent
#EAA53E
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0C0305
muted
#7D7879

Preview Lab

Preview with #51102A

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

Preview Lab → · Contrast checker → · Palette generator →

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