#51192B#51192B

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

Color values

HEX#51192B
RGBrgb(81, 25, 43)
HSLhsl(341, 53%, 21%)
HSVhsv(341, 69%, 32%)
CMYKcmyk(0%, 69.1%, 46.9%, 68.2%)
CIE-LABlab(18.45, 27.96, 2.02)
CIE-LCHlch(18.45, 28.03, 4.14°)
OKLaboklab(30.81% 0.0853 0.0055)
OKLCHoklch(30.81% 0.086 3.7)
XYZxyz(4.1773, 2.6195, 2.5707)
Luminance0.0262 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51192B #19513F
analogous
#511947 #51192B #512319
triadic
#51192B #2B5119 #192B51
tetradic
#51192B #475119 #19513F #231951
square
#51192B #475119 #19513F #231951
split-complementary
#51192B #195123 #194751
monochromatic
#17070C #220B12 #51192B #802744 #AF365D

Accessibility & contrast

On white

13.78
#51192B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.52
#51192B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51192B
13.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51192B#FFFFFF#000000##FFFFFF
##51192B1.0013.781.5213.78
#FFFFFF13.781.0021.001.00
#0000001.5221.001.0021.00
##FFFFFF13.781.0021.001.00

Color blindness preview

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

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#51192B
secondary
#3E8770
accent
#DCAE4C
background
#F8F5F5
surface
#F0E9EA
border
#CBC5C6
text
#0B0405
muted
#7C7979

Preview Lab

Preview with #51192B

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

Preview Lab → · Contrast checker → · Palette generator →

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