#812151#812151

#812151 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.138 H 354.3°. Best body text is #FFFFFF at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#812151
RGBrgb(129, 33, 81)
HSLhsl(330, 59%, 32%)
HSVhsv(330, 74%, 51%)
CMYKcmyk(0%, 74.4%, 37.2%, 49.4%)
CIE-LABlab(30.28, 44.79, -5.43)
CIE-LCHlch(30.28, 45.12, 353.08°)
OKLaboklab(41.71% 0.1373 -0.0138)
OKLCHoklch(41.71% 0.138 354.3)
XYZxyz(11.0830, 6.3502, 8.4251)
Luminance0.0635 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812151 #218151
analogous
#812181 #812151 #812121
triadic
#812151 #518121 #215181
tetradic
#812151 #818121 #218151 #212181
square
#812151 #818121 #218151 #212181
split-complementary
#812151 #218121 #218181
monochromatic
#200814 #501532 #812151 #B22D70 #D14B8E

Accessibility & contrast

On white

9.25
#812151 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812151
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812151#FFFFFF#000000##FFFFFF
##8121511.009.252.279.25
#FFFFFF9.251.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C52
Deuteranopia (green-blind)
#4D4E4F
Tritanopia (blue-blind)
#8B1836
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #812151;
/* rgb */ color: rgb(129, 33, 81);
/* oklch */ color: oklch(41.7% 0.138 354.3);
Tailwind
colors: {
  custom: {
    50: '#aa6581',
    500: '#812151',
    950: '#000000',
  },
}
SCSS
$custom: #812151;
$custom-light: #aa6581;
$custom-dark: #000000;
JSON
{
  "hex": "#812151",
  "rgb": {
    "r": 129,
    "g": 33,
    "b": 81
  },
  "hsl": {
    "h": 330,
    "s": 59.259,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41714,
    "c": 0.13798,
    "h": 354.3
  },
  "luminance": 0.06349
}

Semantic roles & 50–950 ramp

primary
#812151
secondary
#4AB47F
accent
#E29445
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #812151

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

Preview Lab → · Contrast checker → · Palette generator →

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