#A23E87#A23E87

#A23E87 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.6% C 0.157 H 339.6°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#A23E87
RGBrgb(162, 62, 135)
HSLhsl(316, 45%, 44%)
HSVhsv(316, 62%, 64%)
CMYKcmyk(0%, 61.7%, 16.7%, 36.5%)
CIE-LABlab(42.58, 49.76, -20.31)
CIE-LCHlch(42.58, 53.75, 337.80°)
OKLaboklab(52.55% 0.1473 -0.0547)
OKLCHoklch(52.55% 0.157 339.6)
XYZxyz(20.9965, 12.8777, 24.2968)
Luminance0.1288 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23E87 #3EA259
analogous
#8B3EA2 #A23E87 #A23E55
triadic
#A23E87 #87A23E #3E87A2
tetradic
#A23E87 #A28B3E #3EA259 #3E55A2
square
#A23E87 #A28B3E #3EA259 #3E55A2
split-complementary
#A23E87 #55A23E #3EA28B
monochromatic
#491C3D #762D62 #A23E87 #C15CA6 #D289BE

Accessibility & contrast

On white

5.87
#A23E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#A23E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23E87
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23E87#FFFFFF#000000##FFFFFF
##A23E871.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435A89
Deuteranopia (green-blind)
#616A84
Tritanopia (blue-blind)
#AB415D
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #a23e87;
/* rgb */ color: rgb(162, 62, 135);
/* oklch */ color: oklch(52.6% 0.157 339.6);
Tailwind
colors: {
  custom: {
    50: '#c079aa',
    500: '#a23e87',
    950: '#000000',
  },
}
SCSS
$custom: #a23e87;
$custom-light: #c079aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a23e87",
  "rgb": {
    "r": 162,
    "g": 62,
    "b": 135
  },
  "hsl": {
    "h": 316.2,
    "s": 44.643,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52552,
    "c": 0.15709,
    "h": 339.6
  },
  "luminance": 0.12876
}

Semantic roles & 50–950 ramp

primary
#A23E87
secondary
#80BC90
accent
#D47653
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23E87

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

Preview Lab → · Contrast checker → · Palette generator →

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