#802268#802268

#802268 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.7% C 0.150 H 340.0°. Best body text is #FFFFFF at 8.95:1 contrast (WCAG AA passes).

Color values

HEX#802268
RGBrgb(128, 34, 104)
HSLhsl(315, 58%, 32%)
HSVhsv(315, 73%, 50%)
CMYKcmyk(0%, 73.4%, 18.8%, 49.8%)
CIE-LABlab(31.19, 47.23, -19.01)
CIE-LCHlch(31.19, 50.91, 338.08°)
OKLaboklab(42.66% 0.1407 -0.0513)
OKLCHoklch(42.66% 0.15 340)
XYZxyz(11.9731, 6.7339, 13.7632)
Luminance0.0673 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802268 #22803A
analogous
#692280 #802268 #802239
triadic
#802268 #688022 #226880
tetradic
#802268 #806922 #22803A #223980
square
#802268 #806922 #22803A #223980
split-complementary
#802268 #398022 #228069
monochromatic
#1F0819 #501541 #802268 #B02F8F #D04DAE

Accessibility & contrast

On white

8.95
#802268 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#802268 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802268
8.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802268#FFFFFF#000000##FFFFFF
##8022681.008.952.358.95
#FFFFFF8.951.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#28406A
Deuteranopia (green-blind)
#464F66
Tritanopia (blue-blind)
#882542
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802268;
/* rgb */ color: rgb(128, 34, 104);
/* oklch */ color: oklch(42.7% 0.150 340.0);
Tailwind
colors: {
  custom: {
    50: '#a86693',
    500: '#802268',
    950: '#000000',
  },
}
SCSS
$custom: #802268;
$custom-light: #a86693;
$custom-dark: #000000;
JSON
{
  "hex": "#802268",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 104
  },
  "hsl": {
    "h": 315.319,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42662,
    "c": 0.14971,
    "h": 340
  },
  "luminance": 0.06733
}

Semantic roles & 50–950 ramp

primary
#802268
secondary
#4BB266
accent
#E16E47
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #802268

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

Preview Lab → · Contrast checker → · Palette generator →

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