#812062#812062

#812062 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.149 H 343.7°. Best body text is #FFFFFF at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#812062
RGBrgb(129, 32, 98)
HSLhsl(319, 60%, 32%)
HSVhsv(319, 75%, 51%)
CMYKcmyk(0%, 75.2%, 24%, 49.4%)
CIE-LABlab(30.84, 47.36, -15.67)
CIE-LCHlch(30.84, 49.89, 341.69°)
OKLaboklab(42.35% 0.1428 -0.0419)
OKLCHoklch(42.35% 0.149 343.7)
XYZxyz(11.7748, 6.5832, 12.2035)
Luminance0.0658 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812062 #20813F
analogous
#702081 #812062 #812032
triadic
#812062 #628120 #206281
tetradic
#812062 #817020 #20813F #203281
square
#812062 #817020 #20813F #203281
split-complementary
#812062 #328120 #208170
monochromatic
#1F0817 #50143D #812062 #B22C87 #D249A6

Accessibility & contrast

On white

9.07
#812062 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#812062 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812062
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812062#FFFFFF#000000##FFFFFF
##8120621.009.072.329.07
#FFFFFF9.071.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A3E64
Deuteranopia (green-blind)
#484E60
Tritanopia (blue-blind)
#8A203E
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812062;
/* rgb */ color: rgb(129, 32, 98);
/* oklch */ color: oklch(42.3% 0.149 343.7);
Tailwind
colors: {
  custom: {
    50: '#a9658e',
    500: '#812062',
    950: '#000000',
  },
}
SCSS
$custom: #812062;
$custom-light: #a9658e;
$custom-dark: #000000;
JSON
{
  "hex": "#812062",
  "rgb": {
    "r": 129,
    "g": 32,
    "b": 98
  },
  "hsl": {
    "h": 319.175,
    "s": 60.248,
    "l": 31.569
  },
  "oklch": {
    "l": 0.42348,
    "c": 0.14883,
    "h": 343.7
  },
  "luminance": 0.06582
}

Semantic roles & 50–950 ramp

primary
#812062
secondary
#49B46B
accent
#E37744
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #812062

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

Preview Lab → · Contrast checker → · Palette generator →

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