#802266#802266

#802266 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.148 H 341.1°. Best body text is #FFFFFF at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#802266
RGBrgb(128, 34, 102)
HSLhsl(317, 58%, 32%)
HSVhsv(317, 73%, 50%)
CMYKcmyk(0%, 73.4%, 20.3%, 49.8%)
CIE-LABlab(31.10, 46.93, -17.87)
CIE-LCHlch(31.10, 50.21, 339.16°)
OKLaboklab(42.56% 0.1403 -0.0481)
OKLCHoklch(42.56% 0.148 341.1)
XYZxyz(11.8727, 6.6937, 13.2345)
Luminance0.0669 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802266 #22803C
analogous
#6B2280 #802266 #802237
triadic
#802266 #668022 #226680
tetradic
#802266 #806B22 #22803C #223780
square
#802266 #806B22 #22803C #223780
split-complementary
#802266 #378022 #22806B
monochromatic
#1F0819 #50153F #802266 #B02F8D #D04DAB

Accessibility & contrast

On white

8.98
#802266 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.34
#802266 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802266
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802266#FFFFFF#000000##FFFFFF
##8022661.008.982.348.98
#FFFFFF8.981.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#293F68
Deuteranopia (green-blind)
#474F64
Tritanopia (blue-blind)
#882441
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802266;
/* rgb */ color: rgb(128, 34, 102);
/* oklch */ color: oklch(42.6% 0.148 341.1);
Tailwind
colors: {
  custom: {
    50: '#a86691',
    500: '#802266',
    950: '#000000',
  },
}
SCSS
$custom: #802266;
$custom-light: #a86691;
$custom-dark: #000000;
JSON
{
  "hex": "#802266",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 102
  },
  "hsl": {
    "h": 316.596,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42563,
    "c": 0.14831,
    "h": 341.1
  },
  "luminance": 0.06693
}

Semantic roles & 50–950 ramp

primary
#802266
secondary
#4BB268
accent
#E17147
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060D
muted
#7F7A7D

Preview Lab

Preview with #802266

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

Preview Lab → · Contrast checker → · Palette generator →

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