#A23284#A23284

#A23284 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.172 H 340.3°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A23284
RGBrgb(162, 50, 132)
HSLhsl(316, 53%, 42%)
HSVhsv(316, 69%, 64%)
CMYKcmyk(0%, 69.1%, 18.5%, 36.5%)
CIE-LABlab(40.62, 54.35, -21.50)
CIE-LCHlch(40.62, 58.45, 338.42°)
OKLaboklab(51.08% 0.1619 -0.0579)
OKLCHoklch(51.08% 0.172 340.3)
XYZxyz(20.2063, 11.6304, 23.0060)
Luminance0.1163 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23284 #32A250
analogous
#8832A2 #A23284 #A2324C
triadic
#A23284 #84A232 #3284A2
tetradic
#A23284 #A28832 #32A250 #324CA2
square
#A23284 #A28832 #32A250 #324CA2
split-complementary
#A23284 #4CA232 #32A288
monochromatic
#441538 #73245E #A23284 #C74AA6 #D679BD

Accessibility & contrast

On white

6.31
#A23284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A23284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23284
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23284#FFFFFF#000000##FFFFFF
##A232841.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#5C6681
Tritanopia (blue-blind)
#AC3556
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a23284;
/* rgb */ color: rgb(162, 50, 132);
/* oklch */ color: oklch(51.1% 0.172 340.3);
Tailwind
colors: {
  custom: {
    50: '#c173a8',
    500: '#a23284',
    950: '#000000',
  },
}
SCSS
$custom: #a23284;
$custom-light: #c173a8;
$custom-dark: #000000;
JSON
{
  "hex": "#a23284",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 316.071,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51078,
    "c": 0.17191,
    "h": 340.3
  },
  "luminance": 0.11629
}

Semantic roles & 50–950 ramp

primary
#A23284
secondary
#72BE86
accent
#DC724C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A23284

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

Preview Lab → · Contrast checker → · Palette generator →

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