#801238#801238

#801238 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.4% C 0.144 H 7.5°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).

Color values

HEX#801238
RGBrgb(128, 18, 56)
HSLhsl(339, 75%, 29%)
HSVhsv(339, 86%, 50%)
CMYKcmyk(0%, 85.9%, 56.3%, 49.8%)
CIE-LABlab(27.60, 46.80, 7.34)
CIE-LCHlch(27.60, 47.38, 8.91°)
OKLaboklab(39.45% 0.1427 0.0188)
OKLCHoklch(39.45% 0.144 7.5)
XYZxyz(9.8332, 5.3088, 4.2475)
Luminance0.0531 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#801238 #12805A
analogous
#80126F #801238 #802312
triadic
#801238 #388012 #123880
tetradic
#801238 #6F8012 #12805A #231280
square
#801238 #6F8012 #12805A #231280
split-complementary
#801238 #128023 #126F80
monochromatic
#1B040C #4A0A21 #801238 #B61A4F #E12B6A

Accessibility & contrast

On white

10.19
#801238 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.06
#801238 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #801238
10.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##801238#FFFFFF#000000##FFFFFF
##8012381.0010.192.0610.19
#FFFFFF10.191.0021.001.00
#0000002.0621.001.0021.00
##FFFFFF10.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#8C0024
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #801238;
/* rgb */ color: rgb(128, 18, 56);
/* oklch */ color: oklch(39.4% 0.144 7.5);
Tailwind
colors: {
  custom: {
    50: '#ab5e6e',
    500: '#801238',
    950: '#000000',
  },
}
SCSS
$custom: #801238;
$custom-light: #ab5e6e;
$custom-dark: #000000;
JSON
{
  "hex": "#801238",
  "rgb": {
    "r": 128,
    "g": 18,
    "b": 56
  },
  "hsl": {
    "h": 339.273,
    "s": 75.342,
    "l": 28.627
  },
  "oklch": {
    "l": 0.39449,
    "c": 0.14395,
    "h": 7.5
  },
  "luminance": 0.05307
}

Semantic roles & 50–950 ramp

primary
#801238
secondary
#38B68A
accent
#F2B136
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A

Preview Lab

Preview with #801238

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

Preview Lab → · Contrast checker → · Palette generator →

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