#A23988#A23988

#A23988 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.0% C 0.165 H 338.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#A23988
RGBrgb(162, 57, 136)
HSLhsl(315, 48%, 43%)
HSVhsv(315, 65%, 64%)
CMYKcmyk(0%, 64.8%, 16%, 36.5%)
CIE-LABlab(41.82, 52.10, -22.09)
CIE-LCHlch(41.82, 56.59, 337.03°)
OKLaboklab(52.01% 0.154 -0.0596)
OKLCHoklch(52.01% 0.165 338.8)
XYZxyz(20.8078, 12.3870, 24.5828)
Luminance0.1239 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23988 #39A253
analogous
#8739A2 #A23988 #A23954
triadic
#A23988 #88A239 #3988A2
tetradic
#A23988 #A28739 #39A253 #3954A2
square
#A23988 #A28739 #39A253 #3954A2
split-complementary
#A23988 #54A239 #39A287
monochromatic
#47193C #752962 #A23988 #C355A8 #D382BF

Accessibility & contrast

On white

6.04
#A23988 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#A23988 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23988
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23988#FFFFFF#000000##FFFFFF
##A239881.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E588A
Deuteranopia (green-blind)
#5E6985
Tritanopia (blue-blind)
#AB3D5B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #a23988;
/* rgb */ color: rgb(162, 57, 136);
/* oklch */ color: oklch(52.0% 0.165 338.8);
Tailwind
colors: {
  custom: {
    50: '#c177ab',
    500: '#a23988',
    950: '#000000',
  },
}
SCSS
$custom: #a23988;
$custom-light: #c177ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a23988",
  "rgb": {
    "r": 162,
    "g": 57,
    "b": 136
  },
  "hsl": {
    "h": 314.857,
    "s": 47.945,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52014,
    "c": 0.16515,
    "h": 338.8
  },
  "luminance": 0.12385
}

Semantic roles & 50–950 ramp

primary
#A23988
secondary
#7ABD8B
accent
#D87250
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23988

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

Preview Lab → · Contrast checker → · Palette generator →

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