#51102F#51102F

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

Color values

HEX#51102F
RGBrgb(81, 16, 47)
HSLhsl(331, 67%, 19%)
HSVhsv(331, 80%, 32%)
CMYKcmyk(0%, 80.2%, 42%, 68.2%)
CIE-LABlab(17.11, 32.52, -2.79)
CIE-LCHlch(17.11, 32.64, 355.09°)
OKLaboklab(29.86% 0.0998 -0.0069)
OKLCHoklch(29.86% 0.1 356)
XYZxyz(4.0920, 2.3257, 2.9222)
Luminance0.0232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51102F #105132
analogous
#511050 #51102F #511210
triadic
#51102F #2F5110 #102F51
tetradic
#51102F #505110 #105132 #121051
square
#51102F #505110 #105132 #121051
split-complementary
#51102F #105112 #105051
monochromatic
#1A050F #1E0611 #51102F #841A4D #B7246A

Accessibility & contrast

On white

14.33
#51102F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.47
#51102F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51102F
14.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51102F#FFFFFF#000000##FFFFFF
##51102F1.0014.331.4714.33
#FFFFFF14.331.0021.001.00
#0000001.4721.001.0021.00
##FFFFFF14.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #51102f;
/* rgb */ color: rgb(81, 16, 47);
/* oklch */ color: oklch(29.9% 0.100 356.0);
Tailwind
colors: {
  custom: {
    50: '#855567',
    500: '#51102f',
    950: '#000000',
  },
}
SCSS
$custom: #51102f;
$custom-light: #855567;
$custom-dark: #000000;
JSON
{
  "hex": "#51102f",
  "rgb": {
    "r": 81,
    "g": 16,
    "b": 47
  },
  "hsl": {
    "h": 331.385,
    "s": 67.01,
    "l": 19.02
  },
  "oklch": {
    "l": 0.29861,
    "c": 0.10005,
    "h": 356
  },
  "luminance": 0.02325
}

Semantic roles & 50–950 ramp

primary
#51102F
secondary
#328B60
accent
#EA983E
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0306
muted
#7C787A

Preview Lab

Preview with #51102F

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

Preview Lab → · Contrast checker → · Palette generator →

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