#842470#842470

#842470 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.156 H 337.5°. Best body text is #FFFFFF at 8.51:1 contrast (WCAG AA passes).

Color values

HEX#842470
RGBrgb(132, 36, 112)
HSLhsl(313, 57%, 33%)
HSVhsv(313, 73%, 52%)
CMYKcmyk(0%, 72.7%, 15.2%, 48.2%)
CIE-LABlab(32.56, 48.76, -21.93)
CIE-LCHlch(32.56, 53.46, 335.79°)
OKLaboklab(43.92% 0.1438 -0.0595)
OKLCHoklch(43.92% 0.156 337.5)
XYZxyz(13.0715, 7.3383, 16.0541)
Luminance0.0734 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842470 #248438
analogous
#682484 #842470 #842440
triadic
#842470 #708424 #247084
tetradic
#842470 #846824 #248438 #244084
square
#842470 #846824 #248438 #244084
split-complementary
#842470 #408424 #248468
monochromatic
#240A1E #541747 #842470 #B43199 #D052B6

Accessibility & contrast

On white

8.51
#842470 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.47
#842470 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842470
8.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842470#FFFFFF#000000##FFFFFF
##8424701.008.512.478.51
#FFFFFF8.511.0021.001.00
#0000002.4721.001.0021.00
##FFFFFF8.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#274372
Deuteranopia (green-blind)
#47526E
Tritanopia (blue-blind)
#8B2947
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #842470;
/* rgb */ color: rgb(132, 36, 112);
/* oklch */ color: oklch(43.9% 0.156 337.5);
Tailwind
colors: {
  custom: {
    50: '#ab6899',
    500: '#842470',
    950: '#000000',
  },
}
SCSS
$custom: #842470;
$custom-light: #ab6899;
$custom-dark: #000000;
JSON
{
  "hex": "#842470",
  "rgb": {
    "r": 132,
    "g": 36,
    "b": 112
  },
  "hsl": {
    "h": 312.5,
    "s": 57.143,
    "l": 32.941
  },
  "oklch": {
    "l": 0.4392,
    "c": 0.1556,
    "h": 337.5
  },
  "luminance": 0.07337
}

Semantic roles & 50–950 ramp

primary
#842470
secondary
#50B465
accent
#E06747
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842470

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

Preview Lab → · Contrast checker → · Palette generator →

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