#51192C#51192C

#51192C is a dark, moderate pink. Relative luminance 0.026; OKLCH L 30.8% C 0.086 H 2.6°. Best body text is #FFFFFF at 13.77:1 contrast (WCAG AA passes).

Color values

HEX#51192C
RGBrgb(81, 25, 44)
HSLhsl(340, 53%, 21%)
HSVhsv(340, 69%, 32%)
CMYKcmyk(0%, 69.1%, 45.7%, 68.2%)
CIE-LABlab(18.48, 28.08, 1.36)
CIE-LCHlch(18.48, 28.11, 2.77°)
OKLaboklab(30.84% 0.0857 0.0038)
OKLCHoklch(30.84% 0.086 2.6)
XYZxyz(4.1959, 2.6269, 2.6685)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51192C #19513E
analogous
#511948 #51192C #512219
triadic
#51192C #2C5119 #192C51
tetradic
#51192C #485119 #19513E #221951
square
#51192C #485119 #19513E #221951
split-complementary
#51192C #195122 #194851
monochromatic
#17070D #220B13 #51192C #802745 #AF365F

Accessibility & contrast

On white

13.77
#51192C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#51192C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51192C
13.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51192C#FFFFFF#000000##FFFFFF
##51192C1.0013.771.5313.77
#FFFFFF13.771.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#24262C
Deuteranopia (green-blind)
#33312B
Tritanopia (blue-blind)
#581320
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51192c;
/* rgb */ color: rgb(81, 25, 44);
/* oklch */ color: oklch(30.8% 0.086 2.6);
Tailwind
colors: {
  custom: {
    50: '#855964',
    500: '#51192c',
    950: '#000000',
  },
}
SCSS
$custom: #51192c;
$custom-light: #855964;
$custom-dark: #000000;
JSON
{
  "hex": "#51192c",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 44
  },
  "hsl": {
    "h": 339.643,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.3084,
    "c": 0.08583,
    "h": 2.6
  },
  "luminance": 0.02626
}

Semantic roles & 50–950 ramp

primary
#51192C
secondary
#3E876F
accent
#DCAB4C
background
#F8F5F6
surface
#F0E9EB
border
#CBC5C6
text
#0B0405
muted
#7C797A

Preview Lab

Preview with #51192C

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

Preview Lab → · Contrast checker → · Palette generator →

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