#812458#812458

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

Color values

HEX#812458
RGBrgb(129, 36, 88)
HSLhsl(326, 56%, 32%)
HSVhsv(326, 72%, 51%)
CMYKcmyk(0%, 72.1%, 31.8%, 49.4%)
CIE-LABlab(30.96, 44.50, -8.99)
CIE-LCHlch(30.96, 45.40, 348.57°)
OKLaboklab(42.3% 0.1357 -0.0234)
OKLCHoklch(42.3% 0.138 350.2)
XYZxyz(11.4462, 6.6347, 9.9085)
Luminance0.0663 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#812458 #24814D
analogous
#7C2481 #812458 #812429
triadic
#812458 #588124 #245881
tetradic
#812458 #817C24 #24814D #242981
square
#812458 #817C24 #24814D #242981
split-complementary
#812458 #298124 #24817C
monochromatic
#210917 #511737 #812458 #B13179 #CE5197

Accessibility & contrast

On white

9.03
#812458 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#812458 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #812458
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##812458#FFFFFF#000000##FFFFFF
##8124581.009.032.339.03
#FFFFFF9.031.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323E59
Deuteranopia (green-blind)
#4D4F56
Tritanopia (blue-blind)
#8B1F3A
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #812458;
/* rgb */ color: rgb(129, 36, 88);
/* oklch */ color: oklch(42.3% 0.138 350.2);
Tailwind
colors: {
  custom: {
    50: '#a96787',
    500: '#812458',
    950: '#000000',
  },
}
SCSS
$custom: #812458;
$custom-light: #a96787;
$custom-dark: #000000;
JSON
{
  "hex": "#812458",
  "rgb": {
    "r": 129,
    "g": 36,
    "b": 88
  },
  "hsl": {
    "h": 326.452,
    "s": 56.364,
    "l": 32.353
  },
  "oklch": {
    "l": 0.423,
    "c": 0.13772,
    "h": 350.2
  },
  "luminance": 0.06633
}

Semantic roles & 50–950 ramp

primary
#812458
secondary
#4EB27A
accent
#E08B48
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C

Preview Lab

Preview with #812458

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

Preview Lab → · Contrast checker → · Palette generator →

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