#841271#841271

#841271 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.6% C 0.175 H 336.5°. Best body text is #FFFFFF at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#841271
RGBrgb(132, 18, 113)
HSLhsl(310, 76%, 29%)
HSVhsv(310, 86%, 52%)
CMYKcmyk(0%, 86.4%, 14.4%, 48.2%)
CIE-LABlab(30.72, 54.34, -25.46)
CIE-LCHlch(30.72, 60.01, 334.90°)
OKLaboklab(42.61% 0.1601 -0.0695)
OKLCHoklch(42.61% 0.175 336.5)
XYZxyz(12.7129, 6.5316, 16.2108)
Luminance0.0653 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#841271 #128425
analogous
#5E1284 #841271 #841238
triadic
#841271 #718412 #127184
tetradic
#841271 #845E12 #128425 #123884
square
#841271 #845E12 #128425 #123884
split-complementary
#841271 #388412 #12845E
monochromatic
#1B0417 #4E0B43 #841271 #BA199F #E22EC4

Accessibility & contrast

On white

9.11
#841271 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.31
#841271 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #841271
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##841271#FFFFFF#000000##FFFFFF
##8412711.009.112.319.11
#FFFFFF9.111.0021.001.00
#0000002.3121.001.0021.00
##FFFFFF9.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#153E73
Deuteranopia (green-blind)
#414E6F
Tritanopia (blue-blind)
#8B1C43
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #841271;
/* rgb */ color: rgb(132, 18, 113);
/* oklch */ color: oklch(42.6% 0.175 336.5);
Tailwind
colors: {
  custom: {
    50: '#ac629a',
    500: '#841271',
    950: '#000000',
  },
}
SCSS
$custom: #841271;
$custom-light: #ac629a;
$custom-dark: #000000;
JSON
{
  "hex": "#841271",
  "rgb": {
    "r": 132,
    "g": 18,
    "b": 113
  },
  "hsl": {
    "h": 310,
    "s": 76,
    "l": 29.412
  },
  "oklch": {
    "l": 0.42606,
    "c": 0.17458,
    "h": 336.5
  },
  "luminance": 0.0653
}

Semantic roles & 50–950 ramp

primary
#841271
secondary
#39B94E
accent
#F35535
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E

Preview Lab

Preview with #841271

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

Preview Lab → · Contrast checker → · Palette generator →

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