#812261#812261

#812261 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.5% C 0.146 H 344.4°. Best body text is #FFFFFF at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#812261
RGBrgb(129, 34, 97)
HSLhsl(320, 58%, 32%)
HSVhsv(320, 74%, 51%)
CMYKcmyk(0%, 73.6%, 24.8%, 49.4%)
CIE-LABlab(31.06, 46.48, -14.69)
CIE-LCHlch(31.06, 48.75, 342.46°)
OKLaboklab(42.49% 0.1404 -0.0391)
OKLCHoklch(42.49% 0.146 344.4)
XYZxyz(11.7834, 6.6755, 11.9749)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812261 #228142
analogous
#722281 #812261 #812231
triadic
#812261 #618122 #226181
tetradic
#812261 #817222 #228142 #223181
square
#812261 #817222 #228142 #223181
split-complementary
#812261 #318122 #228172
monochromatic
#200818 #51153D #812261 #B12F85 #D04DA4

Accessibility & contrast

On white

8.99
#812261 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#812261 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812261
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812261#FFFFFF#000000##FFFFFF
##8122611.008.992.338.99
#FFFFFF8.991.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF8.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3F63
Deuteranopia (green-blind)
#494F5F
Tritanopia (blue-blind)
#8A213E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812261;
/* rgb */ color: rgb(129, 34, 97);
/* oklch */ color: oklch(42.5% 0.146 344.4);
Tailwind
colors: {
  custom: {
    50: '#a9668e',
    500: '#812261',
    950: '#000000',
  },
}
SCSS
$custom: #812261;
$custom-light: #a9668e;
$custom-dark: #000000;
JSON
{
  "hex": "#812261",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 97
  },
  "hsl": {
    "h": 320.211,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42492,
    "c": 0.14571,
    "h": 344.4
  },
  "luminance": 0.06674
}

Semantic roles & 50–950 ramp

primary
#812261
secondary
#4BB36E
accent
#E17B46
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #812261

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

Preview Lab → · Contrast checker → · Palette generator →

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