#802248#802248

#802248 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.132 H 0.2°. Best body text is #FFFFFF at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#802248
RGBrgb(128, 34, 72)
HSLhsl(336, 58%, 32%)
HSVhsv(336, 73%, 50%)
CMYKcmyk(0%, 73.4%, 43.8%, 49.8%)
CIE-LABlab(29.92, 43.09, -0.05)
CIE-LCHlch(29.92, 43.09, 359.93°)
OKLaboklab(41.31% 0.1321 0.0004)
OKLCHoklch(41.31% 0.132 0.2)
XYZxyz(10.6446, 6.2025, 6.7663)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802248 #22805A
analogous
#802277 #802248 #802B22
triadic
#802248 #488022 #224880
tetradic
#802248 #778022 #22805A #2B2280
square
#802248 #778022 #22805A #2B2280
split-complementary
#802248 #22802B #227780
monochromatic
#1F0812 #50152D #802248 #B02F63 #D04D82

Accessibility & contrast

On white

9.37
#802248 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#802248 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802248
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802248#FFFFFF#000000##FFFFFF
##8022481.009.372.249.37
#FFFFFF9.371.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#4F4D46
Tritanopia (blue-blind)
#8B1532
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802248;
/* rgb */ color: rgb(128, 34, 72);
/* oklch */ color: oklch(41.3% 0.132 0.2);
Tailwind
colors: {
  custom: {
    50: '#a9657a',
    500: '#802248',
    950: '#000000',
  },
}
SCSS
$custom: #802248;
$custom-light: #a9657a;
$custom-dark: #000000;
JSON
{
  "hex": "#802248",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 72
  },
  "hsl": {
    "h": 335.745,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.41311,
    "c": 0.13209,
    "h": 0.2
  },
  "luminance": 0.06201
}

Semantic roles & 50–950 ramp

primary
#802248
secondary
#4BB289
accent
#E1A347
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100609
muted
#7F7A7B

Preview Lab

Preview with #802248

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

Preview Lab → · Contrast checker → · Palette generator →

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