#A23181#A23181

#A23181 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.8% C 0.171 H 341.7°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A23181
RGBrgb(162, 49, 129)
HSLhsl(318, 54%, 41%)
HSVhsv(318, 70%, 64%)
CMYKcmyk(0%, 69.8%, 20.4%, 36.5%)
CIE-LABlab(40.35, 54.31, -20.07)
CIE-LCHlch(40.35, 57.89, 339.72°)
OKLaboklab(50.84% 0.1625 -0.0539)
OKLCHoklch(50.84% 0.171 341.7)
XYZxyz(19.9616, 11.4649, 21.9263)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23181 #31A252
analogous
#8B31A2 #A23181 #A23149
triadic
#A23181 #81A231 #3181A2
tetradic
#A23181 #A28B31 #31A252 #3149A2
square
#A23181 #A28B31 #31A252 #3149A2
split-complementary
#A23181 #49A231 #31A28B
monochromatic
#441536 #73235C #A23181 #C848A3 #D677BA

Accessibility & contrast

On white

6.38
#A23181 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A23181 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23181
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23181#FFFFFF#000000##FFFFFF
##A231811.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5383
Deuteranopia (green-blind)
#5D667E
Tritanopia (blue-blind)
#AC3354
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a23181;
/* rgb */ color: rgb(162, 49, 129);
/* oklch */ color: oklch(50.8% 0.171 341.7);
Tailwind
colors: {
  custom: {
    50: '#c173a5',
    500: '#a23181',
    950: '#000000',
  },
}
SCSS
$custom: #a23181;
$custom-light: #c173a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23181",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 129
  },
  "hsl": {
    "h": 317.522,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50838,
    "c": 0.17118,
    "h": 341.7
  },
  "luminance": 0.11463
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A23181

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

Preview Lab → · Contrast checker → · Palette generator →

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