#802242#802242

#802242 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.130 H 4.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#802242
RGBrgb(128, 34, 66)
HSLhsl(340, 58%, 32%)
HSVhsv(340, 73%, 50%)
CMYKcmyk(0%, 73.4%, 48.4%, 49.8%)
CIE-LABlab(29.73, 42.47, 3.66)
CIE-LCHlch(29.73, 42.63, 4.93°)
OKLaboklab(41.11% 0.1298 0.0098)
OKLCHoklch(41.11% 0.13 4.3)
XYZxyz(10.4583, 6.1280, 5.7853)
Luminance0.0613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802242 #228060
analogous
#802271 #802242 #803122
triadic
#802242 #428022 #224280
tetradic
#802242 #718022 #228060 #312280
square
#802242 #718022 #228060 #312280
split-complementary
#802242 #228031 #227180
monochromatic
#1F0810 #501529 #802242 #B02F5B #D04D79

Accessibility & contrast

On white

9.44
#802242 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802242
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802242#FFFFFF#000000##FFFFFF
##8022421.009.442.239.44
#FFFFFF9.441.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#373A43
Deuteranopia (green-blind)
#504D40
Tritanopia (blue-blind)
#8B122F
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802242;
/* rgb */ color: rgb(128, 34, 66);
/* oklch */ color: oklch(41.1% 0.130 4.3);
Tailwind
colors: {
  custom: {
    50: '#aa6576',
    500: '#802242',
    950: '#000000',
  },
}
SCSS
$custom: #802242;
$custom-light: #aa6576;
$custom-dark: #000000;
JSON
{
  "hex": "#802242",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 66
  },
  "hsl": {
    "h": 339.574,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41114,
    "c": 0.13021,
    "h": 4.3
  },
  "luminance": 0.06127
}

Semantic roles & 50–950 ramp

primary
#802242
secondary
#4BB28F
accent
#E1AD47
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #802242

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

Preview Lab → · Contrast checker → · Palette generator →

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