#811238#811238

#811238 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.6% C 0.145 H 7.8°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).

Color values

HEX#811238
RGBrgb(129, 18, 56)
HSLhsl(339, 76%, 29%)
HSVhsv(339, 86%, 51%)
CMYKcmyk(0%, 86%, 56.6%, 49.4%)
CIE-LABlab(27.81, 47.09, 7.67)
CIE-LCHlch(27.81, 47.71, 9.25°)
OKLaboklab(39.64% 0.1435 0.0196)
OKLCHoklch(39.64% 0.145 7.8)
XYZxyz(9.9844, 5.3867, 4.2546)
Luminance0.0539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#811238 #12815B
analogous
#811270 #811238 #812312
triadic
#811238 #388112 #123881
tetradic
#811238 #708112 #12815B #231281
square
#811238 #708112 #12815B #231281
split-complementary
#811238 #128123 #127081
monochromatic
#1B040C #4B0B21 #811238 #B7194F #E22C6A

Accessibility & contrast

On white

10.11
#811238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.08
#811238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #811238
10.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##811238#FFFFFF#000000##FFFFFF
##8112381.0010.112.0810.11
#FFFFFF10.111.0021.001.00
#0000002.0821.001.0021.00
##FFFFFF10.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323439
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#8D0024
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #811238;
/* rgb */ color: rgb(129, 18, 56);
/* oklch */ color: oklch(39.6% 0.145 7.8);
Tailwind
colors: {
  custom: {
    50: '#ac5f6e',
    500: '#811238',
    950: '#000000',
  },
}
SCSS
$custom: #811238;
$custom-light: #ac5f6e;
$custom-dark: #000000;
JSON
{
  "hex": "#811238",
  "rgb": {
    "r": 129,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 339.459,
    "s": 75.51,
    "l": 28.824
  },
  "oklch": {
    "l": 0.39642,
    "c": 0.14484,
    "h": 7.8
  },
  "luminance": 0.05385
}

Semantic roles & 50–950 ramp

primary
#811238
secondary
#38B78B
accent
#F2B236
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #811238

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

Preview Lab → · Contrast checker → · Palette generator →

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