#842273#842273

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

Color values

HEX#842273
RGBrgb(132, 34, 115)
HSLhsl(310, 59%, 33%)
HSVhsv(310, 74%, 52%)
CMYKcmyk(0%, 74.2%, 12.9%, 48.2%)
CIE-LABlab(32.46, 49.96, -24.00)
CIE-LCHlch(32.46, 55.42, 334.34°)
OKLaboklab(43.89% 0.1463 -0.0654)
OKLCHoklch(43.89% 0.16 335.9)
XYZxyz(13.1825, 7.2886, 16.9289)
Luminance0.0729 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842273 #228433
analogous
#642284 #842273 #842242
triadic
#842273 #738422 #227384
tetradic
#842273 #846422 #228433 #224284
square
#842273 #846422 #228433 #224284
split-complementary
#842273 #428422 #228464
monochromatic
#23091E #531549 #842273 #B52F9D #D24FBB

Accessibility & contrast

On white

8.55
#842273 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.46
#842273 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842273
8.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842273#FFFFFF#000000##FFFFFF
##8422731.008.552.468.55
#FFFFFF8.551.0021.001.00
#0000002.4621.001.0021.00
##FFFFFF8.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234375
Deuteranopia (green-blind)
#455271
Tritanopia (blue-blind)
#8B2948
Achromatopsia (no color)
#4C4C4C

Design tokens & code

CSS
--color: #842273;
/* rgb */ color: rgb(132, 34, 115);
/* oklch */ color: oklch(43.9% 0.160 335.9);
Tailwind
colors: {
  custom: {
    50: '#ab679b',
    500: '#842273',
    950: '#000000',
  },
}
SCSS
$custom: #842273;
$custom-light: #ab679b;
$custom-dark: #000000;
JSON
{
  "hex": "#842273",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 115
  },
  "hsl": {
    "h": 310.408,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.43889,
    "c": 0.16029,
    "h": 335.9
  },
  "luminance": 0.07287
}

Semantic roles & 50–950 ramp

primary
#842273
secondary
#4DB55F
accent
#E26146
background
#FAF6F9
surface
#F4EBF2
border
#CEC6CC
text
#10070E
muted
#7F7A7E

Preview Lab

Preview with #842273

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

Preview Lab → · Contrast checker → · Palette generator →

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