#802148#802148

#802148 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.133 H 359.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#802148
RGBrgb(128, 33, 72)
HSLhsl(335, 59%, 32%)
HSVhsv(335, 74%, 50%)
CMYKcmyk(0%, 74.2%, 43.8%, 49.8%)
CIE-LABlab(29.78, 43.48, -0.25)
CIE-LCHlch(29.78, 43.48, 359.67°)
OKLaboklab(41.21% 0.1333 -0.0002)
OKLCHoklch(41.21% 0.133 359.9)
XYZxyz(10.6164, 6.1461, 6.7569)
Luminance0.0614 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802148 #218059
analogous
#802178 #802148 #802921
triadic
#802148 #488021 #214880
tetradic
#802148 #788021 #218059 #292180
square
#802148 #788021 #218059 #292180
split-complementary
#802148 #218029 #217880
monochromatic
#1F0811 #4F142D #802148 #B12E63 #D14B82

Accessibility & contrast

On white

9.42
#802148 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#802148 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802148
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802148#FFFFFF#000000##FFFFFF
##8021481.009.422.239.42
#FFFFFF9.421.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#353B49
Deuteranopia (green-blind)
#4F4D46
Tritanopia (blue-blind)
#8B1431
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802148;
/* rgb */ color: rgb(128, 33, 72);
/* oklch */ color: oklch(41.2% 0.133 359.9);
Tailwind
colors: {
  custom: {
    50: '#a9657a',
    500: '#802148',
    950: '#000000',
  },
}
SCSS
$custom: #802148;
$custom-light: #a9657a;
$custom-dark: #000000;
JSON
{
  "hex": "#802148",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 72
  },
  "hsl": {
    "h": 335.368,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.41208,
    "c": 0.13332,
    "h": 359.9
  },
  "luminance": 0.06145
}

Semantic roles & 50–950 ramp

primary
#802148
secondary
#4AB388
accent
#E2A246
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #802148

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

Preview Lab → · Contrast checker → · Palette generator →

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