#812256#812256

#812256 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.0% C 0.139 H 351.2°. Best body text is #FFFFFF at 9.14:1 contrast (WCAG AA passes).

Color values

HEX#812256
RGBrgb(129, 34, 86)
HSLhsl(327, 58%, 32%)
HSVhsv(327, 74%, 51%)
CMYKcmyk(0%, 73.6%, 33.3%, 49.4%)
CIE-LABlab(30.60, 45.02, -8.23)
CIE-LCHlch(30.60, 45.77, 349.65°)
OKLaboklab(42.01% 0.1376 -0.0213)
OKLCHoklch(42.01% 0.139 351.2)
XYZxyz(11.3056, 6.4844, 9.4585)
Luminance0.0648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812256 #22814D
analogous
#7D2281 #812256 #812227
triadic
#812256 #568122 #225681
tetradic
#812256 #817D22 #22814D #222781
square
#812256 #817D22 #22814D #222781
split-complementary
#812256 #278122 #22817D
monochromatic
#200815 #511536 #812256 #B12F76 #D04D95

Accessibility & contrast

On white

9.14
#812256 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#812256 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812256
9.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812256#FFFFFF#000000##FFFFFF
##8122561.009.142.309.14
#FFFFFF9.141.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D57
Deuteranopia (green-blind)
#4C4E54
Tritanopia (blue-blind)
#8B1C39
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812256;
/* rgb */ color: rgb(129, 34, 86);
/* oklch */ color: oklch(42.0% 0.139 351.2);
Tailwind
colors: {
  custom: {
    50: '#a96685',
    500: '#812256',
    950: '#000000',
  },
}
SCSS
$custom: #812256;
$custom-light: #a96685;
$custom-dark: #000000;
JSON
{
  "hex": "#812256",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 86
  },
  "hsl": {
    "h": 327.158,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42013,
    "c": 0.13923,
    "h": 351.2
  },
  "luminance": 0.06483
}

Semantic roles & 50–950 ramp

primary
#812256
secondary
#4BB37A
accent
#E18D46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #812256

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

Preview Lab → · Contrast checker → · Palette generator →

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