#802262#802262

#802262 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.4% C 0.146 H 343.4°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#802262
RGBrgb(128, 34, 98)
HSLhsl(319, 58%, 32%)
HSVhsv(319, 73%, 50%)
CMYKcmyk(0%, 73.4%, 23.4%, 49.8%)
CIE-LABlab(30.92, 46.35, -15.57)
CIE-LCHlch(30.92, 48.89, 341.43°)
OKLaboklab(42.37% 0.1395 -0.0416)
OKLCHoklch(42.37% 0.146 343.4)
XYZxyz(11.6791, 6.6163, 12.2149)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802262 #228040
analogous
#6F2280 #802262 #802233
triadic
#802262 #628022 #226280
tetradic
#802262 #806F22 #228040 #223380
square
#802262 #806F22 #228040 #223380
split-complementary
#802262 #338022 #22806F
monochromatic
#1F0818 #50153D #802262 #B02F87 #D04DA6

Accessibility & contrast

On white

9.04
#802262 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#802262 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802262
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802262#FFFFFF#000000##FFFFFF
##8022621.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C3F64
Deuteranopia (green-blind)
#484E60
Tritanopia (blue-blind)
#88223F
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802262;
/* rgb */ color: rgb(128, 34, 98);
/* oklch */ color: oklch(42.4% 0.146 343.4);
Tailwind
colors: {
  custom: {
    50: '#a8668e',
    500: '#802262',
    950: '#000000',
  },
}
SCSS
$custom: #802262;
$custom-light: #a8668e;
$custom-dark: #000000;
JSON
{
  "hex": "#802262",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 98
  },
  "hsl": {
    "h": 319.149,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.42371,
    "c": 0.14561,
    "h": 343.4
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#802262
secondary
#4BB26C
accent
#E17847
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D

Preview Lab

Preview with #802262

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

Preview Lab → · Contrast checker → · Palette generator →

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