#812255#812255

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

Color values

HEX#812255
RGBrgb(129, 34, 85)
HSLhsl(328, 58%, 32%)
HSVhsv(328, 74%, 51%)
CMYKcmyk(0%, 73.6%, 34.1%, 49.4%)
CIE-LABlab(30.56, 44.90, -7.63)
CIE-LCHlch(30.56, 45.54, 350.36°)
OKLaboklab(41.97% 0.1373 -0.0197)
OKLCHoklch(41.97% 0.139 351.8)
XYZxyz(11.2656, 6.4684, 9.2478)
Luminance0.0647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812255 #22814E
analogous
#7D2281 #812255 #812226
triadic
#812255 #558122 #225581
tetradic
#812255 #817D22 #22814E #222681
square
#812255 #817D22 #22814E #222681
split-complementary
#812255 #268122 #22817D
monochromatic
#200815 #511535 #812255 #B12F75 #D04D94

Accessibility & contrast

On white

9.16
#812255 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#812255 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812255
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812255#FFFFFF#000000##FFFFFF
##8122551.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323D56
Deuteranopia (green-blind)
#4D4E53
Tritanopia (blue-blind)
#8B1B38
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812255;
/* rgb */ color: rgb(129, 34, 85);
/* oklch */ color: oklch(42.0% 0.139 351.8);
Tailwind
colors: {
  custom: {
    50: '#a96684',
    500: '#812255',
    950: '#000000',
  },
}
SCSS
$custom: #812255;
$custom-light: #a96684;
$custom-dark: #000000;
JSON
{
  "hex": "#812255",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 85
  },
  "hsl": {
    "h": 327.789,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41972,
    "c": 0.13871,
    "h": 351.8
  },
  "luminance": 0.06467
}

Semantic roles & 50–950 ramp

primary
#812255
secondary
#4BB37C
accent
#E18E46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #812255

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

Preview Lab → · Contrast checker → · Palette generator →

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