#A23287#A23287

#A23287 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.174 H 338.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A23287
RGBrgb(162, 50, 135)
HSLhsl(314, 53%, 42%)
HSVhsv(314, 69%, 64%)
CMYKcmyk(0%, 69.1%, 16.7%, 36.5%)
CIE-LABlab(40.76, 54.79, -23.13)
CIE-LCHlch(40.76, 59.47, 337.12°)
OKLaboklab(51.22% 0.1624 -0.0625)
OKLCHoklch(51.22% 0.174 338.9)
XYZxyz(20.4145, 11.7137, 24.1028)
Luminance0.1171 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23287 #32A24D
analogous
#8532A2 #A23287 #A2324F
triadic
#A23287 #87A232 #3287A2
tetradic
#A23287 #A28532 #32A24D #324FA2
square
#A23287 #A28532 #32A24D #324FA2
split-complementary
#A23287 #4FA232 #32A285
monochromatic
#441539 #732460 #A23287 #C74AA9 #D679BF

Accessibility & contrast

On white

6.28
#A23287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23287
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23287#FFFFFF#000000##FFFFFF
##A232871.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385589
Deuteranopia (green-blind)
#5B6684
Tritanopia (blue-blind)
#AB3658
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a23287;
/* rgb */ color: rgb(162, 50, 135);
/* oklch */ color: oklch(51.2% 0.174 338.9);
Tailwind
colors: {
  custom: {
    50: '#c173aa',
    500: '#a23287',
    950: '#000000',
  },
}
SCSS
$custom: #a23287;
$custom-light: #c173aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a23287",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 135
  },
  "hsl": {
    "h": 314.464,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5122,
    "c": 0.17398,
    "h": 338.9
  },
  "luminance": 0.11712
}

Semantic roles & 50–950 ramp

primary
#A23287
secondary
#72BE84
accent
#DC6E4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23287

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

Preview Lab → · Contrast checker → · Palette generator →

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