#A23887#A23887

#A23887 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.166 H 339.2°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#A23887
RGBrgb(162, 56, 135)
HSLhsl(315, 49%, 43%)
HSVhsv(315, 65%, 64%)
CMYKcmyk(0%, 65.4%, 16.7%, 36.5%)
CIE-LABlab(41.63, 52.37, -21.78)
CIE-LCHlch(41.63, 56.72, 337.42°)
OKLaboklab(51.86% 0.1551 -0.0588)
OKLCHoklch(51.86% 0.166 339.2)
XYZxyz(20.6881, 12.2608, 24.1940)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23887 #38A253
analogous
#8838A2 #A23887 #A23852
triadic
#A23887 #87A238 #3887A2
tetradic
#A23887 #A28838 #38A253 #3852A2
square
#A23887 #A28838 #38A253 #3852A2
split-complementary
#A23887 #52A238 #38A288
monochromatic
#47193B #752861 #A23887 #C453A7 #D381BE

Accessibility & contrast

On white

6.08
#A23887 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#A23887 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23887
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23887#FFFFFF#000000##FFFFFF
##A238871.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5889
Deuteranopia (green-blind)
#5E6884
Tritanopia (blue-blind)
#AB3B5A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a23887;
/* rgb */ color: rgb(162, 56, 135);
/* oklch */ color: oklch(51.9% 0.166 339.2);
Tailwind
colors: {
  custom: {
    50: '#c176aa',
    500: '#a23887',
    950: '#000000',
  },
}
SCSS
$custom: #a23887;
$custom-light: #c176aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a23887",
  "rgb": {
    "r": 162,
    "g": 56,
    "b": 135
  },
  "hsl": {
    "h": 315.283,
    "s": 48.624,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51855,
    "c": 0.16585,
    "h": 339.2
  },
  "luminance": 0.12259
}

Semantic roles & 50–950 ramp

primary
#A23887
secondary
#79BD8A
accent
#D87250
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23887

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

Preview Lab → · Contrast checker → · Palette generator →

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