#A23771#A23771

#A23771 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.153 H 350.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#A23771
RGBrgb(162, 55, 113)
HSLhsl(327, 49%, 43%)
HSVhsv(327, 66%, 64%)
CMYKcmyk(0%, 66%, 30.2%, 36.5%)
CIE-LABlab(40.59, 49.71, -9.81)
CIE-LCHlch(40.59, 50.67, 348.84°)
OKLaboklab(50.8% 0.1513 -0.0255)
OKLCHoklch(50.8% 0.153 350.4)
XYZxyz(19.2480, 11.6081, 16.8465)
Luminance0.1161 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23771 #37A268
analogous
#9E37A2 #A23771 #A2373B
triadic
#A23771 #71A237 #3771A2
tetradic
#A23771 #A29E37 #37A268 #373BA2
square
#A23771 #A29E37 #37A268 #373BA2
split-complementary
#A23771 #3BA237 #37A29E
monochromatic
#471831 #742751 #A23771 #C45290 #D480AD

Accessibility & contrast

On white

6.32
#A23771 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A23771 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23771
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23771#FFFFFF#000000##FFFFFF
##A237711.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465473
Deuteranopia (green-blind)
#64676E
Tritanopia (blue-blind)
#AE324F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a23771;
/* rgb */ color: rgb(162, 55, 113);
/* oklch */ color: oklch(50.8% 0.153 350.4);
Tailwind
colors: {
  custom: {
    50: '#c17599',
    500: '#a23771',
    950: '#000000',
  },
}
SCSS
$custom: #a23771;
$custom-light: #c17599;
$custom-dark: #000000;
JSON
{
  "hex": "#a23771",
  "rgb": {
    "r": 162,
    "g": 55,
    "b": 113
  },
  "hsl": {
    "h": 327.477,
    "s": 49.309,
    "l": 42.549
  },
  "oklch": {
    "l": 0.508,
    "c": 0.1534,
    "h": 350.4
  },
  "luminance": 0.11606
}

Semantic roles & 50–950 ramp

primary
#A23771
secondary
#78BD97
accent
#D98E4F
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A23771

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

Preview Lab → · Contrast checker → · Palette generator →

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