#812262#812262

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

Color values

HEX#812262
RGBrgb(129, 34, 98)
HSLhsl(320, 58%, 32%)
HSVhsv(320, 74%, 51%)
CMYKcmyk(0%, 73.6%, 24%, 49.4%)
CIE-LABlab(31.10, 46.63, -15.27)
CIE-LCHlch(31.10, 49.06, 341.87°)
OKLaboklab(42.54% 0.1406 -0.0408)
OKLCHoklch(42.54% 0.146 343.8)
XYZxyz(11.8303, 6.6942, 12.2220)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812262 #228141
analogous
#712281 #812262 #812233
triadic
#812262 #628122 #226281
tetradic
#812262 #817122 #228141 #223381
square
#812262 #817122 #228141 #223381
split-complementary
#812262 #338122 #228171
monochromatic
#200818 #51153D #812262 #B12F87 #D04DA5

Accessibility & contrast

On white

8.98
#812262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#812262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812262
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812262#FFFFFF#000000##FFFFFF
##8122621.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F64
Deuteranopia (green-blind)
#494F60
Tritanopia (blue-blind)
#8A223F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812262;
/* rgb */ color: rgb(129, 34, 98);
/* oklch */ color: oklch(42.5% 0.146 343.8);
Tailwind
colors: {
  custom: {
    50: '#a9668e',
    500: '#812262',
    950: '#000000',
  },
}
SCSS
$custom: #812262;
$custom-light: #a9668e;
$custom-dark: #000000;
JSON
{
  "hex": "#812262",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 319.579,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42539,
    "c": 0.14635,
    "h": 343.8
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#812262
secondary
#4BB36D
accent
#E17946
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #812262

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

Preview Lab → · Contrast checker → · Palette generator →

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