#892871#892871

#892871 is a mid, vivid pink. Relative luminance 0.080; OKLCH L 45.2% C 0.155 H 339.3°. Best body text is #FFFFFF at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#892871
RGBrgb(137, 40, 113)
HSLhsl(315, 55%, 35%)
HSVhsv(315, 71%, 54%)
CMYKcmyk(0%, 70.8%, 17.5%, 46.3%)
CIE-LABlab(34.04, 48.70, -20.19)
CIE-LCHlch(34.04, 52.72, 337.48°)
OKLaboklab(45.18% 0.1446 -0.0545)
OKLCHoklch(45.18% 0.155 339.3)
XYZxyz(14.0563, 8.0295, 16.4291)
Luminance0.0803 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#892871 #288940
analogous
#702889 #892871 #892841
triadic
#892871 #718928 #287189
tetradic
#892871 #897028 #288940 #284189
square
#892871 #897028 #288940 #284189
split-complementary
#892871 #418928 #288970
monochromatic
#2A0C23 #5A1A4A #892871 #B83698 #CF5CB3

Accessibility & contrast

On white

8.06
#892871 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#892871 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #892871
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##892871#FFFFFF#000000##FFFFFF
##8928711.008.062.618.06
#FFFFFF8.061.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D4673
Deuteranopia (green-blind)
#4C566F
Tritanopia (blue-blind)
#912B49
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #892871;
/* rgb */ color: rgb(137, 40, 113);
/* oklch */ color: oklch(45.2% 0.155 339.3);
Tailwind
colors: {
  custom: {
    50: '#af6b9a',
    500: '#892871',
    950: '#000000',
  },
}
SCSS
$custom: #892871;
$custom-light: #af6b9a;
$custom-dark: #000000;
JSON
{
  "hex": "#892871",
  "rgb": {
    "r": 137,
    "g": 40,
    "b": 113
  },
  "hsl": {
    "h": 314.845,
    "s": 54.802,
    "l": 34.706
  },
  "oklch": {
    "l": 0.45179,
    "c": 0.15452,
    "h": 339.3
  },
  "luminance": 0.08028
}

Semantic roles & 50–950 ramp

primary
#892871
secondary
#58B56F
accent
#DE6E4A
background
#FBF6F9
surface
#F6ECF2
border
#D0C7CC
text
#11070E
muted
#807A7E

Preview Lab

Preview with #892871

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

Preview Lab → · Contrast checker → · Palette generator →

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