#51193E#51193E

#51193E is a dark, moderate pink. Relative luminance 0.028; OKLCH L 31.6% C 0.096 H 343.5°. Best body text is #FFFFFF at 13.48:1 contrast (WCAG AA passes).

Color values

HEX#51193E
RGBrgb(81, 25, 62)
HSLhsl(320, 53%, 21%)
HSVhsv(320, 69%, 32%)
CMYKcmyk(0%, 69.1%, 23.5%, 68.2%)
CIE-LABlab(19.19, 30.65, -10.23)
CIE-LCHlch(19.19, 32.31, 341.54°)
OKLaboklab(31.6% 0.0919 -0.0273)
OKLCHoklch(31.6% 0.096 343.5)
XYZxyz(4.6106, 2.7928, 4.8527)
Luminance0.0279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51193E #19512C
analogous
#481951 #51193E #511922
triadic
#51193E #3E5119 #193E51
tetradic
#51193E #514819 #19512C #192251
square
#51193E #514819 #19512C #192251
split-complementary
#51193E #225119 #195148
monochromatic
#170712 #220B1A #51193E #802762 #AF3686

Accessibility & contrast

On white

13.48
#51193E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.56
#51193E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51193E
13.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51193E#FFFFFF#000000##FFFFFF
##51193E1.0013.481.5613.48
#FFFFFF13.481.0021.001.00
#0000001.5621.001.0021.00
##FFFFFF13.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E293F
Deuteranopia (green-blind)
#2E323D
Tritanopia (blue-blind)
#561929
Achromatopsia (no color)
#2F2F2F

Design tokens & code

CSS
--color: #51193e;
/* rgb */ color: rgb(81, 25, 62);
/* oklch */ color: oklch(31.6% 0.096 343.5);
Tailwind
colors: {
  custom: {
    50: '#845a73',
    500: '#51193e',
    950: '#000000',
  },
}
SCSS
$custom: #51193e;
$custom-light: #845a73;
$custom-dark: #000000;
JSON
{
  "hex": "#51193e",
  "rgb": {
    "r": 81,
    "g": 25,
    "b": 62
  },
  "hsl": {
    "h": 320.357,
    "s": 52.83,
    "l": 20.784
  },
  "oklch": {
    "l": 0.31599,
    "c": 0.09586,
    "h": 343.5
  },
  "luminance": 0.02792
}

Semantic roles & 50–950 ramp

primary
#51193E
secondary
#3E8757
accent
#DC7D4C
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0408
muted
#7C797B

Preview Lab

Preview with #51193E

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

Preview Lab → · Contrast checker → · Palette generator →

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