#A23182#A23182

#A23182 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.9% C 0.172 H 341.2°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#A23182
RGBrgb(162, 49, 130)
HSLhsl(317, 54%, 41%)
HSVhsv(317, 70%, 64%)
CMYKcmyk(0%, 69.8%, 19.8%, 36.5%)
CIE-LABlab(40.40, 54.45, -20.62)
CIE-LCHlch(40.40, 58.22, 339.26°)
OKLaboklab(50.88% 0.1627 -0.0554)
OKLCHoklch(50.88% 0.172 341.2)
XYZxyz(20.0284, 11.4916, 22.2781)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23182 #31A251
analogous
#8A31A2 #A23182 #A2314A
triadic
#A23182 #82A231 #3182A2
tetradic
#A23182 #A28A31 #31A251 #314AA2
square
#A23182 #A28A31 #31A251 #314AA2
split-complementary
#A23182 #4AA231 #31A28A
monochromatic
#441537 #73235C #A23182 #C848A4 #D677BB

Accessibility & contrast

On white

6.37
#A23182 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#A23182 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23182
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23182#FFFFFF#000000##FFFFFF
##A231821.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#5D667F
Tritanopia (blue-blind)
#AC3355
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a23182;
/* rgb */ color: rgb(162, 49, 130);
/* oklch */ color: oklch(50.9% 0.172 341.2);
Tailwind
colors: {
  custom: {
    50: '#c173a6',
    500: '#a23182',
    950: '#000000',
  },
}
SCSS
$custom: #a23182;
$custom-light: #c173a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a23182",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 130
  },
  "hsl": {
    "h": 316.991,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50884,
    "c": 0.17185,
    "h": 341.2
  },
  "luminance": 0.1149
}

Semantic roles & 50–950 ramp

primary
#A23182
secondary
#71BE87
accent
#DD744B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A23182

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

Preview Lab → · Contrast checker → · Palette generator →

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