#51102C#51102C

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

Color values

HEX#51102C
RGBrgb(81, 16, 44)
HSLhsl(334, 67%, 19%)
HSVhsv(334, 80%, 32%)
CMYKcmyk(0%, 80.2%, 45.7%, 68.2%)
CIE-LABlab(17.00, 32.16, -0.80)
CIE-LCHlch(17.00, 32.17, 358.57°)
OKLaboklab(29.74% 0.0987 -0.0017)
OKLCHoklch(29.74% 0.099 359)
XYZxyz(4.0335, 2.3023, 2.6144)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51102C #105135
analogous
#51104D #51102C #511510
triadic
#51102C #2C5110 #102C51
tetradic
#51102C #4D5110 #105135 #151051
square
#51102C #4D5110 #105135 #151051
split-complementary
#51102C #105115 #104D51
monochromatic
#1A050E #1E0610 #51102C #841A48 #B72464

Accessibility & contrast

On white

14.38
#51102C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #51102C
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51102C#FFFFFF#000000##FFFFFF
##51102C1.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51102c;
/* rgb */ color: rgb(81, 16, 44);
/* oklch */ color: oklch(29.7% 0.099 359.0);
Tailwind
colors: {
  custom: {
    50: '#865564',
    500: '#51102c',
    950: '#000000',
  },
}
SCSS
$custom: #51102c;
$custom-light: #865564;
$custom-dark: #000000;
JSON
{
  "hex": "#51102c",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 44
  },
  "hsl": {
    "h": 334.154,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29742,
    "c": 0.09872,
    "h": 359
  },
  "luminance": 0.02302
}

Semantic roles & 50–950 ramp

primary
#51102C
secondary
#328B65
accent
#EAA03E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0C0305
muted
#7D787A

Preview Lab

Preview with #51102C

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

Preview Lab → · Contrast checker → · Palette generator →

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