#811248#811248

#811248 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.150 H 357.8°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).

Color values

HEX#811248
RGBrgb(129, 18, 72)
HSLhsl(331, 76%, 29%)
HSVhsv(331, 86%, 51%)
CMYKcmyk(0%, 86%, 44.2%, 49.4%)
CIE-LABlab(28.30, 48.52, -2.41)
CIE-LCHlch(28.30, 48.58, 357.16°)
OKLaboklab(40.16% 0.1494 -0.0057)
OKLCHoklch(40.16% 0.15 357.8)
XYZxyz(10.4401, 5.5690, 6.6548)
Luminance0.0557 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811248 #12814B
analogous
#811280 #811248 #811412
triadic
#811248 #488112 #124881
tetradic
#811248 #808112 #12814B #141281
square
#811248 #808112 #12814B #141281
split-complementary
#811248 #128114 #128081
monochromatic
#1B040F #4B0B2A #811248 #B71966 #E22C84

Accessibility & contrast

On white

9.94
#811248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.11
#811248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811248
9.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811248#FFFFFF#000000##FFFFFF
##8112481.009.942.119.94
#FFFFFF9.941.0021.001.00
#0000002.1121.001.0021.00
##FFFFFF9.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D3649
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#8C002C
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #811248;
/* rgb */ color: rgb(129, 18, 72);
/* oklch */ color: oklch(40.2% 0.150 357.8);
Tailwind
colors: {
  custom: {
    50: '#ab5f7a',
    500: '#811248',
    950: '#000000',
  },
}
SCSS
$custom: #811248;
$custom-light: #ab5f7a;
$custom-dark: #000000;
JSON
{
  "hex": "#811248",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 72
  },
  "hsl": {
    "h": 330.811,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.40159,
    "c": 0.14953,
    "h": 357.8
  },
  "luminance": 0.05568
}

Semantic roles & 50–950 ramp

primary
#811248
secondary
#38B779
accent
#F29636
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110509
muted
#807A7B

Preview Lab

Preview with #811248

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

Preview Lab → · Contrast checker → · Palette generator →

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