#802342#802342

#802342 is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.2% C 0.129 H 4.6°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#802342
RGBrgb(128, 35, 66)
HSLhsl(340, 57%, 32%)
HSVhsv(340, 73%, 50%)
CMYKcmyk(0%, 72.7%, 48.4%, 49.8%)
CIE-LABlab(29.88, 42.07, 3.87)
CIE-LCHlch(29.88, 42.25, 5.25°)
OKLaboklab(41.22% 0.1286 0.0103)
OKLCHoklch(41.22% 0.129 4.6)
XYZxyz(10.4873, 6.1860, 5.7950)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#802342 #238061
analogous
#802371 #802342 #803323
triadic
#802342 #428023 #234280
tetradic
#802342 #718023 #238061 #332380
square
#802342 #718023 #238061 #332380
split-complementary
#802342 #238033 #237180
monochromatic
#200910 #501629 #802342 #B0305B #CF4F79

Accessibility & contrast

On white

9.39
#802342 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #802342
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##802342#FFFFFF#000000##FFFFFF
##8023421.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#383B43
Deuteranopia (green-blind)
#514D40
Tritanopia (blue-blind)
#8B1430
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #802342;
/* rgb */ color: rgb(128, 35, 66);
/* oklch */ color: oklch(41.2% 0.129 4.6);
Tailwind
colors: {
  custom: {
    50: '#a96576',
    500: '#802342',
    950: '#000000',
  },
}
SCSS
$custom: #802342;
$custom-light: #a96576;
$custom-dark: #000000;
JSON
{
  "hex": "#802342",
  "rgb": {
    "r": 128,
    "g": 35,
    "b": 66
  },
  "hsl": {
    "h": 340,
    "s": 57.055,
    "l": 31.961
  },
  "oklch": {
    "l": 0.41221,
    "c": 0.12898,
    "h": 4.6
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#802342
secondary
#4DB290
accent
#E0AD47
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110608
muted
#807A7B

Preview Lab

Preview with #802342

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

Preview Lab → · Contrast checker → · Palette generator →

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