#842267#842267

#842267 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.152 H 342.3°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#842267
RGBrgb(132, 34, 103)
HSLhsl(318, 59%, 33%)
HSVhsv(318, 74%, 52%)
CMYKcmyk(0%, 74.2%, 22%, 48.2%)
CIE-LABlab(31.88, 48.16, -17.25)
CIE-LCHlch(31.88, 51.15, 340.29°)
OKLaboklab(43.28% 0.1446 -0.0463)
OKLCHoklch(43.28% 0.152 342.3)
XYZxyz(12.5363, 7.0301, 13.5261)
Luminance0.0703 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#842267 #22843F
analogous
#702284 #842267 #842236
triadic
#842267 #678422 #226784
tetradic
#842267 #847022 #22843F #223684
square
#842267 #847022 #22843F #223684
split-complementary
#842267 #368422 #228470
monochromatic
#23091B #531541 #842267 #B52F8D #D24FAB

Accessibility & contrast

On white

8.73
#842267 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.41
#842267 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #842267
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##842267#FFFFFF#000000##FFFFFF
##8422671.008.732.418.73
#FFFFFF8.731.0021.001.00
#0000002.4121.001.0021.00
##FFFFFF8.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4169
Deuteranopia (green-blind)
#4A5165
Tritanopia (blue-blind)
#8C2341
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #842267;
/* rgb */ color: rgb(132, 34, 103);
/* oklch */ color: oklch(43.3% 0.152 342.3);
Tailwind
colors: {
  custom: {
    50: '#ab6792',
    500: '#842267',
    950: '#000000',
  },
}
SCSS
$custom: #842267;
$custom-light: #ab6792;
$custom-dark: #000000;
JSON
{
  "hex": "#842267",
  "rgb": {
    "r": 132,
    "g": 34,
    "b": 103
  },
  "hsl": {
    "h": 317.755,
    "s": 59.036,
    "l": 32.549
  },
  "oklch": {
    "l": 0.4328,
    "c": 0.15179,
    "h": 342.3
  },
  "luminance": 0.07029
}

Semantic roles & 50–950 ramp

primary
#842267
secondary
#4DB56C
accent
#E27446
background
#FAF6F9
surface
#F5EBF1
border
#CFC6CB
text
#10060D
muted
#7F7A7E

Preview Lab

Preview with #842267

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

Preview Lab → · Contrast checker → · Palette generator →

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