#801231#801231

#801231 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.143 H 11.8°. Best body text is #FFFFFF at 10.25:1 contrast (WCAG AA passes).

Color values

HEX#801231
RGBrgb(128, 18, 49)
HSLhsl(343, 75%, 29%)
HSVhsv(343, 86%, 50%)
CMYKcmyk(0%, 85.9%, 61.7%, 49.8%)
CIE-LABlab(27.42, 46.29, 11.83)
CIE-LCHlch(27.42, 47.77, 14.34°)
OKLaboklab(39.26% 0.1398 0.0293)
OKLCHoklch(39.26% 0.143 11.8)
XYZxyz(9.6738, 5.2450, 3.4082)
Luminance0.0524 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801231 #128061
analogous
#801268 #801231 #802A12
triadic
#801231 #318012 #123180
tetradic
#801231 #688012 #128061 #2A1280
square
#801231 #688012 #128061 #2A1280
split-complementary
#801231 #12802A #126880
monochromatic
#1B040A #4A0A1C #801231 #B61A46 #E12B5E

Accessibility & contrast

On white

10.25
#801231 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#801231 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801231
10.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801231#FFFFFF#000000##FFFFFF
##8012311.0010.252.0510.25
#FFFFFF10.251.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333331
Deuteranopia (green-blind)
#4F492E
Tritanopia (blue-blind)
#8D0020
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #801231;
/* rgb */ color: rgb(128, 18, 49);
/* oklch */ color: oklch(39.3% 0.143 11.8);
Tailwind
colors: {
  custom: {
    50: '#ab5e68',
    500: '#801231',
    950: '#000000',
  },
}
SCSS
$custom: #801231;
$custom-light: #ab5e68;
$custom-dark: #000000;
JSON
{
  "hex": "#801231",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 49
  },
  "hsl": {
    "h": 343.091,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39263,
    "c": 0.14287,
    "h": 11.8
  },
  "luminance": 0.05244
}

Semantic roles & 50–950 ramp

primary
#801231
secondary
#38B692
accent
#F2BD36
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A

Preview Lab

Preview with #801231

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

Preview Lab → · Contrast checker → · Palette generator →

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