#802251#802251

#802251 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.136 H 354.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#802251
RGBrgb(128, 34, 81)
HSLhsl(330, 58%, 32%)
HSVhsv(330, 73%, 50%)
CMYKcmyk(0%, 73.4%, 36.7%, 49.8%)
CIE-LABlab(30.23, 44.11, -5.53)
CIE-LCHlch(30.23, 44.46, 352.85°)
OKLaboklab(41.64% 0.1351 -0.0141)
OKLCHoklch(41.64% 0.136 354.1)
XYZxyz(10.9600, 6.3286, 8.4274)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802251 #228051
analogous
#802280 #802251 #802222
triadic
#802251 #518022 #225180
tetradic
#802251 #808022 #228051 #222280
square
#802251 #808022 #228051 #222280
split-complementary
#802251 #228022 #228080
monochromatic
#1F0814 #501532 #802251 #B02F70 #D04D8E

Accessibility & contrast

On white

9.27
#802251 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#802251 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802251
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802251#FFFFFF#000000##FFFFFF
##8022511.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#333C52
Deuteranopia (green-blind)
#4D4D4F
Tritanopia (blue-blind)
#8A1A36
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #802251;
/* rgb */ color: rgb(128, 34, 81);
/* oklch */ color: oklch(41.6% 0.136 354.1);
Tailwind
colors: {
  custom: {
    50: '#a96581',
    500: '#802251',
    950: '#000000',
  },
}
SCSS
$custom: #802251;
$custom-light: #a96581;
$custom-dark: #000000;
JSON
{
  "hex": "#802251",
  "rgb": {
    "r": 128,
    "g": 34,
    "b": 81
  },
  "hsl": {
    "h": 330,
    "s": 58.025,
    "l": 31.765
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.13585,
    "h": 354.1
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#802251
secondary
#4BB27F
accent
#E19447
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C

Preview Lab

Preview with #802251

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

Preview Lab → · Contrast checker → · Palette generator →

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