#812258#812258

#812258 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.140 H 349.9°. Best body text is #FFFFFF at 9.12:1 contrast (WCAG AA passes).

Color values

HEX#812258
RGBrgb(129, 34, 88)
HSLhsl(326, 58%, 32%)
HSVhsv(326, 74%, 51%)
CMYKcmyk(0%, 73.6%, 31.8%, 49.4%)
CIE-LABlab(30.68, 45.28, -9.42)
CIE-LCHlch(30.68, 46.25, 348.25°)
OKLaboklab(42.1% 0.1382 -0.0246)
OKLCHoklch(42.1% 0.14 349.9)
XYZxyz(11.3873, 6.5170, 9.8889)
Luminance0.0652 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812258 #22814B
analogous
#7B2281 #812258 #812229
triadic
#812258 #588122 #225881
tetradic
#812258 #817B22 #22814B #222981
square
#812258 #817B22 #22814B #222981
split-complementary
#812258 #298122 #22817B
monochromatic
#200816 #511537 #812258 #B12F79 #D04D98

Accessibility & contrast

On white

9.12
#812258 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.30
#812258 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812258
9.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812258#FFFFFF#000000##FFFFFF
##8122581.009.122.309.12
#FFFFFF9.121.0021.001.00
#0000002.3021.001.0021.00
##FFFFFF9.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313D59
Deuteranopia (green-blind)
#4C4E56
Tritanopia (blue-blind)
#8B1D3A
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #812258;
/* rgb */ color: rgb(129, 34, 88);
/* oklch */ color: oklch(42.1% 0.140 349.9);
Tailwind
colors: {
  custom: {
    50: '#a96687',
    500: '#812258',
    950: '#000000',
  },
}
SCSS
$custom: #812258;
$custom-light: #a96687;
$custom-dark: #000000;
JSON
{
  "hex": "#812258",
  "rgb": {
    "r": 129,
    "g": 34,
    "b": 88
  },
  "hsl": {
    "h": 325.895,
    "s": 58.282,
    "l": 31.961
  },
  "oklch": {
    "l": 0.42096,
    "c": 0.14032,
    "h": 349.9
  },
  "luminance": 0.06516
}

Semantic roles & 50–950 ramp

primary
#812258
secondary
#4BB378
accent
#E18946
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #812258

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

Preview Lab → · Contrast checker → · Palette generator →

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