#812362#812362

#812362 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.6% C 0.145 H 343.9°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).

Color values

HEX#812362
RGBrgb(129, 35, 98)
HSLhsl(320, 57%, 32%)
HSVhsv(320, 73%, 51%)
CMYKcmyk(0%, 72.9%, 24%, 49.4%)
CIE-LABlab(31.24, 46.25, -15.06)
CIE-LCHlch(31.24, 48.64, 341.96°)
OKLaboklab(42.64% 0.1394 -0.0402)
OKLCHoklch(42.64% 0.145 343.9)
XYZxyz(11.8593, 6.7522, 12.2317)
Luminance0.0675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812362 #238142
analogous
#712381 #812362 #812333
triadic
#812362 #628123 #236281
tetradic
#812362 #817123 #238142 #233381
square
#812362 #817123 #238142 #233381
split-complementary
#812362 #338123 #238171
monochromatic
#210919 #51163D #812362 #B13087 #CF4FA5

Accessibility & contrast

On white

8.94
#812362 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#812362 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812362
8.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812362#FFFFFF#000000##FFFFFF
##8123621.008.942.358.94
#FFFFFF8.941.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.941.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #812362;
/* rgb */ color: rgb(129, 35, 98);
/* oklch */ color: oklch(42.6% 0.145 343.9);
Tailwind
colors: {
  custom: {
    50: '#a9678e',
    500: '#812362',
    950: '#000000',
  },
}
SCSS
$custom: #812362;
$custom-light: #a9678e;
$custom-dark: #000000;
JSON
{
  "hex": "#812362",
  "rgb": {
    "r": 129,
    "g": 35,
    "b": 98
  },
  "hsl": {
    "h": 319.787,
    "s": 57.317,
    "l": 32.157
  },
  "oklch": {
    "l": 0.42638,
    "c": 0.14507,
    "h": 343.9
  },
  "luminance": 0.06751
}

Semantic roles & 50–950 ramp

primary
#812362
secondary
#4DB36F
accent
#E17A47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #812362

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

Preview Lab → · Contrast checker → · Palette generator →

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