#A23871#A23871

#A23871 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 50.9% C 0.152 H 350.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#A23871
RGBrgb(162, 56, 113)
HSLhsl(328, 49%, 43%)
HSVhsv(328, 65%, 64%)
CMYKcmyk(0%, 65.4%, 30.2%, 36.5%)
CIE-LABlab(40.74, 49.29, -9.57)
CIE-LCHlch(40.74, 50.21, 349.01°)
OKLaboklab(50.91% 0.1499 -0.0249)
OKLCHoklch(50.91% 0.152 350.6)
XYZxyz(19.2960, 11.7040, 16.8625)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23871 #38A269
analogous
#9E38A2 #A23871 #A2383C
triadic
#A23871 #71A238 #3871A2
tetradic
#A23871 #A29E38 #38A269 #383CA2
square
#A23871 #A29E38 #38A269 #383CA2
split-complementary
#A23871 #3CA238 #38A29E
monochromatic
#471932 #752851 #A23871 #C45390 #D381AD

Accessibility & contrast

On white

6.29
#A23871 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#A23871 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23871
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23871#FFFFFF#000000##FFFFFF
##A238711.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475473
Deuteranopia (green-blind)
#65676E
Tritanopia (blue-blind)
#AE3350
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a23871;
/* rgb */ color: rgb(162, 56, 113);
/* oklch */ color: oklch(50.9% 0.152 350.6);
Tailwind
colors: {
  custom: {
    50: '#c17699',
    500: '#a23871',
    950: '#000000',
  },
}
SCSS
$custom: #a23871;
$custom-light: #c17699;
$custom-dark: #000000;
JSON
{
  "hex": "#a23871",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 113
  },
  "hsl": {
    "h": 327.736,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50914,
    "c": 0.15199,
    "h": 350.6
  },
  "luminance": 0.11702
}

Semantic roles & 50–950 ramp

primary
#A23871
secondary
#79BD98
accent
#D88F50
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13090E
muted
#827B7E

Preview Lab

Preview with #A23871

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

Preview Lab → · Contrast checker → · Palette generator →

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