#811862#811862

#811862 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.7% C 0.158 H 343.1°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#811862
RGBrgb(129, 24, 98)
HSLhsl(318, 69%, 30%)
HSVhsv(318, 81%, 51%)
CMYKcmyk(0%, 81.4%, 24%, 49.4%)
CIE-LABlab(29.92, 49.98, -17.09)
CIE-LCHlch(29.92, 52.82, 341.12°)
OKLaboklab(41.68% 0.1509 -0.0458)
OKLCHoklch(41.68% 0.158 343.1)
XYZxyz(11.5850, 6.2035, 12.1402)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811862 #188137
analogous
#6B1881 #811862 #81182E
triadic
#811862 #628118 #186281
tetradic
#811862 #816B18 #188137 #182E81
square
#811862 #816B18 #188137 #182E81
split-complementary
#811862 #2E8118 #18816B
monochromatic
#1A0514 #4D0E3B #811862 #B52289 #DA39AB

Accessibility & contrast

On white

9.37
#811862 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#811862 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811862
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811862#FFFFFF#000000##FFFFFF
##8118621.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#243B64
Deuteranopia (green-blind)
#464D60
Tritanopia (blue-blind)
#8A183C
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #811862;
/* rgb */ color: rgb(129, 24, 98);
/* oklch */ color: oklch(41.7% 0.158 343.1);
Tailwind
colors: {
  custom: {
    50: '#a9628e',
    500: '#811862',
    950: '#000000',
  },
}
SCSS
$custom: #811862;
$custom-light: #a9628e;
$custom-dark: #000000;
JSON
{
  "hex": "#811862",
  "rgb": {
    "r": 129,
    "g": 24,
    "b": 98
  },
  "hsl": {
    "h": 317.714,
    "s": 68.627,
    "l": 30
  },
  "oklch": {
    "l": 0.41683,
    "c": 0.15765,
    "h": 343.1
  },
  "luminance": 0.06202
}

Semantic roles & 50–950 ramp

primary
#811862
secondary
#40B562
accent
#EB703C
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #811862

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

Preview Lab → · Contrast checker → · Palette generator →

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