#802270#802270

#802270 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.156 H 335.7°. Best body text is #FFFFFF at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#802270
RGBrgb(128, 34, 112)
HSLhsl(310, 58%, 32%)
HSVhsv(310, 73%, 50%)
CMYKcmyk(0%, 73.4%, 12.5%, 49.8%)
CIE-LABlab(31.59, 48.46, -23.50)
CIE-LCHlch(31.59, 53.86, 334.13°)
OKLaboklab(43.08% 0.1417 -0.0641)
OKLCHoklch(43.08% 0.156 335.7)
XYZxyz(12.3989, 6.9042, 16.0057)
Luminance0.0690 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802270 #228032
analogous
#612280 #802270 #802241
triadic
#802270 #708022 #227080
tetradic
#802270 #806122 #228032 #224180
square
#802270 #806122 #228032 #224180
split-complementary
#802270 #418022 #228061
monochromatic
#1F081B #501546 #802270 #B02F9A #D04DB9

Accessibility & contrast

On white

8.82
#802270 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.38
#802270 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802270
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802270#FFFFFF#000000##FFFFFF
##8022701.008.822.388.82
#FFFFFF8.821.0021.001.00
#0000002.3821.001.0021.00
##FFFFFF8.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234172
Deuteranopia (green-blind)
#434F6E
Tritanopia (blue-blind)
#872946
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #802270;
/* rgb */ color: rgb(128, 34, 112);
/* oklch */ color: oklch(43.1% 0.156 335.7);
Tailwind
colors: {
  custom: {
    50: '#a86799',
    500: '#802270',
    950: '#000000',
  },
}
SCSS
$custom: #802270;
$custom-light: #a86799;
$custom-dark: #000000;
JSON
{
  "hex": "#802270",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 112
  },
  "hsl": {
    "h": 310.213,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.43076,
    "c": 0.15556,
    "h": 335.7
  },
  "luminance": 0.06903
}

Semantic roles & 50–950 ramp

primary
#802270
secondary
#4BB25D
accent
#E16147
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10060E
muted
#7F7A7E

Preview Lab

Preview with #802270

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

Preview Lab → · Contrast checker → · Palette generator →

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