#812366#812366

#812366 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.148 H 341.6°. Best body text is #FFFFFF at 8.88:1 contrast (WCAG AA passes).

Color values

HEX#812366
RGBrgb(129, 35, 102)
HSLhsl(317, 57%, 32%)
HSVhsv(317, 73%, 51%)
CMYKcmyk(0%, 72.9%, 20.9%, 49.4%)
CIE-LABlab(31.42, 46.82, -17.36)
CIE-LCHlch(31.42, 49.94, 339.66°)
OKLaboklab(42.83% 0.1402 -0.0466)
OKLCHoklch(42.83% 0.148 341.6)
XYZxyz(12.0529, 6.8297, 13.2513)
Luminance0.0683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812366 #23813E
analogous
#6D2381 #812366 #812337
triadic
#812366 #668123 #236681
tetradic
#812366 #816D23 #23813E #233781
square
#812366 #816D23 #23813E #233781
split-complementary
#812366 #378123 #23816D
monochromatic
#21091A #511640 #812366 #B1308C #CF4FAA

Accessibility & contrast

On white

8.88
#812366 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.37
#812366 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812366
8.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812366#FFFFFF#000000##FFFFFF
##8123661.008.882.378.88
#FFFFFF8.881.0021.001.00
#0000002.3721.001.0021.00
##FFFFFF8.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4068
Deuteranopia (green-blind)
#484F64
Tritanopia (blue-blind)
#892441
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #812366;
/* rgb */ color: rgb(129, 35, 102);
/* oklch */ color: oklch(42.8% 0.148 341.6);
Tailwind
colors: {
  custom: {
    50: '#a96791',
    500: '#812366',
    950: '#000000',
  },
}
SCSS
$custom: #812366;
$custom-light: #a96791;
$custom-dark: #000000;
JSON
{
  "hex": "#812366",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 102
  },
  "hsl": {
    "h": 317.234,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42828,
    "c": 0.14773,
    "h": 341.6
  },
  "luminance": 0.06828
}

Semantic roles & 50–950 ramp

primary
#812366
secondary
#4DB36A
accent
#E17347
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #812366

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

Preview Lab → · Contrast checker → · Palette generator →

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