#802252#802252

#802252 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.136 H 353.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#802252
RGBrgb(128, 34, 82)
HSLhsl(329, 58%, 32%)
HSVhsv(329, 73%, 50%)
CMYKcmyk(0%, 73.4%, 35.9%, 49.8%)
CIE-LABlab(30.26, 44.23, -6.13)
CIE-LCHlch(30.26, 44.66, 352.11°)
OKLaboklab(41.68% 0.1354 -0.0157)
OKLCHoklch(41.68% 0.136 353.4)
XYZxyz(10.9978, 6.3437, 8.6263)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802252 #228050
analogous
#7F2280 #802252 #802223
triadic
#802252 #528022 #225280
tetradic
#802252 #807F22 #228050 #222380
square
#802252 #807F22 #228050 #222380
split-complementary
#802252 #238022 #22807F
monochromatic
#1F0814 #501533 #802252 #B02F71 #D04D90

Accessibility & contrast

On white

9.26
#802252 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#802252 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802252
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802252#FFFFFF#000000##FFFFFF
##8022521.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#323C53
Deuteranopia (green-blind)
#4D4E50
Tritanopia (blue-blind)
#8A1A37
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802252;
/* rgb */ color: rgb(128, 34, 82);
/* oklch */ color: oklch(41.7% 0.136 353.4);
Tailwind
colors: {
  custom: {
    50: '#a96682',
    500: '#802252',
    950: '#000000',
  },
}
SCSS
$custom: #802252;
$custom-light: #a96682;
$custom-dark: #000000;
JSON
{
  "hex": "#802252",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 82
  },
  "hsl": {
    "h": 329.362,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41679,
    "c": 0.13633,
    "h": 353.4
  },
  "luminance": 0.06342
}

Semantic roles & 50–950 ramp

primary
#802252
secondary
#4BB27E
accent
#E19247
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #802252

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

Preview Lab → · Contrast checker → · Palette generator →

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