#812152#812152

#812152 is a dark, vivid pink. Relative luminance 0.064; OKLCH L 41.8% C 0.138 H 353.6°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#812152
RGBrgb(129, 33, 82)
HSLhsl(329, 59%, 32%)
HSVhsv(329, 74%, 51%)
CMYKcmyk(0%, 74.4%, 36.4%, 49.4%)
CIE-LABlab(30.32, 44.91, -6.04)
CIE-LCHlch(30.32, 45.32, 352.35°)
OKLaboklab(41.75% 0.1376 -0.0154)
OKLCHoklch(41.75% 0.138 353.6)
XYZxyz(11.1208, 6.3654, 8.6240)
Luminance0.0636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812152 #218150
analogous
#802181 #812152 #812122
triadic
#812152 #528121 #215281
tetradic
#812152 #818021 #218150 #212281
square
#812152 #818021 #218150 #212281
split-complementary
#812152 #228121 #218180
monochromatic
#200814 #501533 #812152 #B22D71 #D14B90

Accessibility & contrast

On white

9.24
#812152 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#812152 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812152
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812152#FFFFFF#000000##FFFFFF
##8121521.009.242.279.24
#FFFFFF9.241.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#8B1836
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #812152;
/* rgb */ color: rgb(129, 33, 82);
/* oklch */ color: oklch(41.8% 0.138 353.6);
Tailwind
colors: {
  custom: {
    50: '#aa6582',
    500: '#812152',
    950: '#000000',
  },
}
SCSS
$custom: #812152;
$custom-light: #aa6582;
$custom-dark: #000000;
JSON
{
  "hex": "#812152",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 82
  },
  "hsl": {
    "h": 329.375,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41753,
    "c": 0.13846,
    "h": 353.6
  },
  "luminance": 0.06364
}

Semantic roles & 50–950 ramp

primary
#812152
secondary
#4AB47E
accent
#E29245
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #812152

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

Preview Lab → · Contrast checker → · Palette generator →

#812152 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva