#51102E#51102E

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

Color values

HEX#51102E
RGBrgb(81, 16, 46)
HSLhsl(332, 67%, 19%)
HSVhsv(332, 80%, 32%)
CMYKcmyk(0%, 80.2%, 43.2%, 68.2%)
CIE-LABlab(17.07, 32.40, -2.13)
CIE-LCHlch(17.07, 32.47, 356.24°)
OKLaboklab(29.82% 0.0995 -0.0052)
OKLCHoklch(29.82% 0.1 357)
XYZxyz(4.0721, 2.3177, 2.8172)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51102E #105133
analogous
#51104F #51102E #511310
triadic
#51102E #2E5110 #102E51
tetradic
#51102E #4F5110 #105133 #131051
square
#51102E #4F5110 #105133 #131051
split-complementary
#51102E #105113 #104F51
monochromatic
#1A050F #1E0611 #51102E #841A4B #B72468

Accessibility & contrast

On white

14.35
#51102E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51102E
14.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51102E#FFFFFF#000000##FFFFFF
##51102E1.0014.351.4614.35
#FFFFFF14.351.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D222F
Deuteranopia (green-blind)
#2F2E2D
Tritanopia (blue-blind)
#58081D
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #51102e;
/* rgb */ color: rgb(81, 16, 46);
/* oklch */ color: oklch(29.8% 0.100 357.0);
Tailwind
colors: {
  custom: {
    50: '#855566',
    500: '#51102e',
    950: '#000000',
  },
}
SCSS
$custom: #51102e;
$custom-light: #855566;
$custom-dark: #000000;
JSON
{
  "hex": "#51102e",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 46
  },
  "hsl": {
    "h": 332.308,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.2982,
    "c": 0.09959,
    "h": 357
  },
  "luminance": 0.02317
}

Semantic roles & 50–950 ramp

primary
#51102E
secondary
#328B62
accent
#EA9B3E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #51102E

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

Preview Lab → · Contrast checker → · Palette generator →

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