#802267#802267

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

Color values

HEX#802267
RGBrgb(128, 34, 103)
HSLhsl(316, 58%, 32%)
HSVhsv(316, 73%, 50%)
CMYKcmyk(0%, 73.4%, 19.5%, 49.8%)
CIE-LABlab(31.15, 47.08, -18.44)
CIE-LCHlch(31.15, 50.56, 338.61°)
OKLaboklab(42.61% 0.1405 -0.0497)
OKLCHoklch(42.61% 0.149 340.5)
XYZxyz(11.9226, 6.7137, 13.4973)
Luminance0.0671 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802267 #22803B
analogous
#6A2280 #802267 #802238
triadic
#802267 #678022 #226780
tetradic
#802267 #806A22 #22803B #223880
square
#802267 #806A22 #22803B #223880
split-complementary
#802267 #388022 #22806A
monochromatic
#1F0819 #501540 #802267 #B02F8E #D04DAD

Accessibility & contrast

On white

8.96
#802267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802267
8.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802267#FFFFFF#000000##FFFFFF
##8022671.008.962.348.96
#FFFFFF8.961.0021.001.00
#0000002.3421.001.0021.00
##FFFFFF8.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#294069
Deuteranopia (green-blind)
#474F65
Tritanopia (blue-blind)
#882441
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802267;
/* rgb */ color: rgb(128, 34, 103);
/* oklch */ color: oklch(42.6% 0.149 340.5);
Tailwind
colors: {
  custom: {
    50: '#a86692',
    500: '#802267',
    950: '#000000',
  },
}
SCSS
$custom: #802267;
$custom-light: #a86692;
$custom-dark: #000000;
JSON
{
  "hex": "#802267",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 315.957,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42612,
    "c": 0.14901,
    "h": 340.5
  },
  "luminance": 0.06713
}

Semantic roles & 50–950 ramp

primary
#802267
secondary
#4BB267
accent
#E17047
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #802267

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

Preview Lab → · Contrast checker → · Palette generator →

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