#802146#802146

#802146 is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.1% C 0.133 H 1.3°. Best body text is #FFFFFF at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#802146
RGBrgb(128, 33, 70)
HSLhsl(337, 59%, 32%)
HSVhsv(337, 74%, 50%)
CMYKcmyk(0%, 74.2%, 45.3%, 49.8%)
CIE-LABlab(29.71, 43.26, 0.98)
CIE-LCHlch(29.71, 43.28, 1.30°)
OKLaboklab(41.14% 0.1326 0.003)
OKLCHoklch(41.14% 0.133 1.3)
XYZxyz(10.5522, 6.1205, 6.4189)
Luminance0.0612 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802146 #21805B
analogous
#802176 #802146 #802C21
triadic
#802146 #468021 #214680
tetradic
#802146 #768021 #21805B #2C2180
square
#802146 #768021 #21805B #2C2180
split-complementary
#802146 #21802C #217680
monochromatic
#1F0811 #4F142B #802146 #B12E61 #D14B7F

Accessibility & contrast

On white

9.44
#802146 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#802146 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #802146
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802146#FFFFFF#000000##FFFFFF
##8021461.009.442.229.44
#FFFFFF9.441.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#363A47
Deuteranopia (green-blind)
#4F4D44
Tritanopia (blue-blind)
#8B1231
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802146;
/* rgb */ color: rgb(128, 33, 70);
/* oklch */ color: oklch(41.1% 0.133 1.3);
Tailwind
colors: {
  custom: {
    50: '#a96579',
    500: '#802146',
    950: '#000000',
  },
}
SCSS
$custom: #802146;
$custom-light: #a96579;
$custom-dark: #000000;
JSON
{
  "hex": "#802146",
  "rgb": {
    "r": 128,
    "g": 33,
    "b": 70
  },
  "hsl": {
    "h": 336.632,
    "s": 59.006,
    "l": 31.569
  },
  "oklch": {
    "l": 0.4114,
    "c": 0.13263,
    "h": 1.3
  },
  "luminance": 0.06119
}

Semantic roles & 50–950 ramp

primary
#802146
secondary
#4AB38A
accent
#E2A546
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110609
muted
#807A7B

Preview Lab

Preview with #802146

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

Preview Lab → · Contrast checker → · Palette generator →

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