#A23971#A23971

#A23971 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.0% C 0.151 H 350.7°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A23971
RGBrgb(162, 57, 113)
HSLhsl(328, 48%, 43%)
HSVhsv(328, 65%, 64%)
CMYKcmyk(0%, 64.8%, 30.2%, 36.5%)
CIE-LABlab(40.90, 48.86, -9.34)
CIE-LCHlch(40.90, 49.74, 349.18°)
OKLaboklab(51.03% 0.1486 -0.0242)
OKLCHoklch(51.03% 0.151 350.7)
XYZxyz(19.3450, 11.8019, 16.8788)
Luminance0.1180 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23971 #39A26A
analogous
#9E39A2 #A23971 #A2393C
triadic
#A23971 #71A239 #3971A2
tetradic
#A23971 #A29E39 #39A26A #393CA2
square
#A23971 #A29E39 #39A26A #393CA2
split-complementary
#A23971 #3CA239 #39A29E
monochromatic
#471932 #752951 #A23971 #C35590 #D382AD

Accessibility & contrast

On white

6.25
#A23971 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A23971 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23971
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23971#FFFFFF#000000##FFFFFF
##A239711.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485573
Deuteranopia (green-blind)
#65676F
Tritanopia (blue-blind)
#AE3450
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a23971;
/* rgb */ color: rgb(162, 57, 113);
/* oklch */ color: oklch(51.0% 0.151 350.7);
Tailwind
colors: {
  custom: {
    50: '#c17699',
    500: '#a23971',
    950: '#000000',
  },
}
SCSS
$custom: #a23971;
$custom-light: #c17699;
$custom-dark: #000000;
JSON
{
  "hex": "#a23971",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 113
  },
  "hsl": {
    "h": 328,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51031,
    "c": 0.15056,
    "h": 350.7
  },
  "luminance": 0.118
}

Semantic roles & 50–950 ramp

primary
#A23971
secondary
#7ABD99
accent
#D88F50
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A23971

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

Preview Lab → · Contrast checker → · Palette generator →

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