#51153E#51153E

#51153E is a dark, moderate pink. Relative luminance 0.026; OKLCH L 31.1% C 0.102 H 342.8°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#51153E
RGBrgb(81, 21, 62)
HSLhsl(319, 59%, 20%)
HSVhsv(319, 74%, 32%)
CMYKcmyk(0%, 74.1%, 23.5%, 68.2%)
CIE-LABlab(18.51, 32.53, -11.27)
CIE-LCHlch(18.51, 34.43, 340.89°)
OKLaboklab(31.1% 0.0976 -0.0302)
OKLCHoklch(31.1% 0.102 342.8)
XYZxyz(4.5312, 2.6339, 4.8263)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#51153E #155128
analogous
#461551 #51153E #511520
triadic
#51153E #3E5115 #153E51
tetradic
#51153E #514615 #155128 #152051
square
#51153E #514615 #155128 #152051
split-complementary
#51153E #205115 #155146
monochromatic
#180613 #200819 #51153E #822263 #B22E88

Accessibility & contrast

On white

13.76
#51153E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#51153E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #51153E
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##51153E#FFFFFF#000000##FFFFFF
##51153E1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A273F
Deuteranopia (green-blind)
#2C313D
Tritanopia (blue-blind)
#561527
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #51153e;
/* rgb */ color: rgb(81, 21, 62);
/* oklch */ color: oklch(31.1% 0.102 342.8);
Tailwind
colors: {
  custom: {
    50: '#845873',
    500: '#51153e',
    950: '#000000',
  },
}
SCSS
$custom: #51153e;
$custom-light: #845873;
$custom-dark: #000000;
JSON
{
  "hex": "#51153e",
  "rgb": {
    "r": 81,
    "g": 21,
    "b": 62
  },
  "hsl": {
    "h": 319,
    "s": 58.824,
    "l": 20
  },
  "oklch": {
    "l": 0.311,
    "c": 0.10217,
    "h": 342.8
  },
  "luminance": 0.02633
}

Semantic roles & 50–950 ramp

primary
#51153E
secondary
#398952
accent
#E27746
background
#F8F5F6
surface
#EFE9EC
border
#CAC5C7
text
#0B0308
muted
#7C787B

Preview Lab

Preview with #51153E

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

Preview Lab → · Contrast checker → · Palette generator →

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