#854171#854171

#854171 is a mid, moderate pink. Relative luminance 0.100; OKLCH L 47.8% C 0.112 H 339.7°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#854171
RGBrgb(133, 65, 113)
HSLhsl(318, 34%, 39%)
HSVhsv(318, 51%, 52%)
CMYKcmyk(0%, 51.1%, 15%, 47.8%)
CIE-LABlab(37.77, 35.66, -14.51)
CIE-LCHlch(37.77, 38.50, 337.86°)
OKLaboklab(47.8% 0.1048 -0.0389)
OKLCHoklch(47.8% 0.112 339.7)
XYZxyz(14.5440, 9.9604, 16.7761)
Luminance0.0996 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#854171 #418555
analogous
#774185 #854171 #85414F
triadic
#854171 #718541 #417185
tetradic
#854171 #857741 #418555 #414F85
square
#854171 #857741 #418555 #414F85
split-complementary
#854171 #4F8541 #418577
monochromatic
#33192B #5C2D4E #854171 #AD5793 #C180AE

Accessibility & contrast

On white

7.02
#854171 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#854171 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #854171
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##854171#FFFFFF#000000##FFFFFF
##8541711.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445273
Deuteranopia (green-blind)
#565D6F
Tritanopia (blue-blind)
#8C4254
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #854171;
/* rgb */ color: rgb(133, 65, 113);
/* oklch */ color: oklch(47.8% 0.112 339.7);
Tailwind
colors: {
  custom: {
    50: '#aa789a',
    500: '#854171',
    950: '#000000',
  },
}
SCSS
$custom: #854171;
$custom-light: #aa789a;
$custom-dark: #000000;
JSON
{
  "hex": "#854171",
  "rgb": {
    "r": 133,
    "g": 65,
    "b": 113
  },
  "hsl": {
    "h": 317.647,
    "s": 34.343,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47797,
    "c": 0.11179,
    "h": 339.7
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#854171
secondary
#76AB86
accent
#CA7D5D
background
#FAF7F9
surface
#F4EDF2
border
#CEC8CC
text
#10090E
muted
#7F7B7E

Preview Lab

Preview with #854171

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

Preview Lab → · Contrast checker → · Palette generator →

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