#A23286#A23286

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

Color values

HEX#A23286
RGBrgb(162, 50, 134)
HSLhsl(315, 53%, 42%)
HSVhsv(315, 69%, 64%)
CMYKcmyk(0%, 69.1%, 17.3%, 36.5%)
CIE-LABlab(40.71, 54.64, -22.58)
CIE-LCHlch(40.71, 59.13, 337.54°)
OKLaboklab(51.17% 0.1622 -0.061)
OKLCHoklch(51.17% 0.173 339.4)
XYZxyz(20.3444, 11.6857, 23.7337)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23286 #32A24E
analogous
#8632A2 #A23286 #A2324E
triadic
#A23286 #86A232 #3286A2
tetradic
#A23286 #A28632 #32A24E #324EA2
square
#A23286 #A28632 #32A24E #324EA2
split-complementary
#A23286 #4EA232 #32A286
monochromatic
#441539 #73245F #A23286 #C74AA8 #D679BE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A23286#FFFFFF#000000##FFFFFF
##A232861.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)
#385588
Deuteranopia (green-blind)
#5C6683
Tritanopia (blue-blind)
#AB3657
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a23286;
/* rgb */ color: rgb(162, 50, 134);
/* oklch */ color: oklch(51.2% 0.173 339.4);
Tailwind
colors: {
  custom: {
    50: '#c173a9',
    500: '#a23286',
    950: '#000000',
  },
}
SCSS
$custom: #a23286;
$custom-light: #c173a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a23286",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 315,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51173,
    "c": 0.17328,
    "h": 339.4
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#A23286
secondary
#72BE85
accent
#DC704C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A23286

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

Preview Lab → · Contrast checker → · Palette generator →

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