#802A40#802A40

#802A40 is a dark, moderate pink. Relative luminance 0.066; OKLCH L 42.0% C 0.119 H 8.3°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#802A40
RGBrgb(128, 42, 64)
HSLhsl(345, 51%, 33%)
HSVhsv(345, 67%, 50%)
CMYKcmyk(0%, 67.2%, 50%, 49.8%)
CIE-LABlab(30.92, 38.87, 6.67)
CIE-LCHlch(30.92, 39.43, 9.74°)
OKLaboklab(41.98% 0.1182 0.0173)
OKLCHoklch(41.98% 0.119 8.3)
XYZxyz(10.6563, 6.6166, 5.5655)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802A40 #2A806A
analogous
#802A6B #802A40 #803F2A
triadic
#802A40 #40802A #2A4080
tetradic
#802A40 #6B802A #2A806A #3F2A80
square
#802A40 #6B802A #2A806A #3F2A80
split-complementary
#802A40 #2A803F #2A6B80
monochromatic
#240C12 #521B29 #802A40 #AE3957 #C95B77

Accessibility & contrast

On white

9.04
#802A40 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#802A40 on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##802A40#FFFFFF#000000##FFFFFF
##802A401.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)
#3D3E40
Deuteranopia (green-blind)
#534F3E
Tritanopia (blue-blind)
#8B1D33
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #802a40;
/* rgb */ color: rgb(128, 42, 64);
/* oklch */ color: oklch(42.0% 0.119 8.3);
Tailwind
colors: {
  custom: {
    50: '#a96974',
    500: '#802a40',
    950: '#000000',
  },
}
SCSS
$custom: #802a40;
$custom-light: #a96974;
$custom-dark: #000000;
JSON
{
  "hex": "#802a40",
  "rgb": {
    "r": 128,
    "g": 42,
    "b": 64
  },
  "hsl": {
    "h": 344.651,
    "s": 50.588,
    "l": 33.333
  },
  "oklch": {
    "l": 0.41975,
    "c": 0.11944,
    "h": 8.3
  },
  "luminance": 0.06615
}

Semantic roles & 50–950 ramp

primary
#802A40
secondary
#57AF98
accent
#DAB64E
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#100708
muted
#7F7A7B

Preview Lab

Preview with #802A40

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

Preview Lab → · Contrast checker → · Palette generator →

#802A40 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva