#812254#812254

#812254 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 41.9% C 0.138 H 352.5°. Best body text is #FFFFFF at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#812254
RGBrgb(129, 34, 84)
HSLhsl(328, 58%, 32%)
HSVhsv(328, 74%, 51%)
CMYKcmyk(0%, 73.6%, 34.9%, 49.4%)
CIE-LABlab(30.53, 44.77, -7.03)
CIE-LCHlch(30.53, 45.32, 351.07°)
OKLaboklab(41.93% 0.137 -0.0181)
OKLCHoklch(41.93% 0.138 352.5)
XYZxyz(11.2262, 6.4526, 9.0401)
Luminance0.0645 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812254 #22814F
analogous
#7F2281 #812254 #812225
triadic
#812254 #548122 #225481
tetradic
#812254 #817F22 #22814F #222581
square
#812254 #817F22 #22814F #222581
split-complementary
#812254 #258122 #22817F
monochromatic
#200815 #511534 #812254 #B12F74 #D04D92

Accessibility & contrast

On white

9.17
#812254 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #812254
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812254#FFFFFF#000000##FFFFFF
##8122541.009.172.299.17
#FFFFFF9.171.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812254;
/* rgb */ color: rgb(129, 34, 84);
/* oklch */ color: oklch(41.9% 0.138 352.5);
Tailwind
colors: {
  custom: {
    50: '#a96684',
    500: '#812254',
    950: '#000000',
  },
}
SCSS
$custom: #812254;
$custom-light: #a96684;
$custom-dark: #000000;
JSON
{
  "hex": "#812254",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 84
  },
  "hsl": {
    "h": 328.421,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41932,
    "c": 0.1382,
    "h": 352.5
  },
  "luminance": 0.06451
}

Semantic roles & 50–950 ramp

primary
#812254
secondary
#4BB37D
accent
#E19046
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #812254

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

Preview Lab → · Contrast checker → · Palette generator →

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