#A23581#A23581

#A23581 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.166 H 341.9°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A23581
RGBrgb(162, 53, 129)
HSLhsl(318, 51%, 42%)
HSVhsv(318, 67%, 64%)
CMYKcmyk(0%, 67.3%, 20.4%, 36.5%)
CIE-LABlab(40.92, 52.73, -19.19)
CIE-LCHlch(40.92, 56.11, 340.00°)
OKLaboklab(51.25% 0.1577 -0.0514)
OKLCHoklch(51.25% 0.166 341.9)
XYZxyz(20.1364, 11.8145, 21.9846)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23581 #35A256
analogous
#8D35A2 #A23581 #A2354B
triadic
#A23581 #81A235 #3581A2
tetradic
#A23581 #A28D35 #35A256 #354BA2
square
#A23581 #A28D35 #35A256 #354BA2
split-complementary
#A23581 #4BA235 #35A28D
monochromatic
#461738 #74265C #A23581 #C54FA1 #D47DBA

Accessibility & contrast

On white

6.25
#A23581 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A23581 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23581
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23581#FFFFFF#000000##FFFFFF
##A235811.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5583
Deuteranopia (green-blind)
#5F677E
Tritanopia (blue-blind)
#AC3656
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a23581;
/* rgb */ color: rgb(162, 53, 129);
/* oklch */ color: oklch(51.3% 0.166 341.9);
Tailwind
colors: {
  custom: {
    50: '#c174a5',
    500: '#a23581',
    950: '#000000',
  },
}
SCSS
$custom: #a23581;
$custom-light: #c174a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23581",
  "rgb": {
    "r": 162,
    "g": 53,
    "b": 129
  },
  "hsl": {
    "h": 318.165,
    "s": 50.698,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51252,
    "c": 0.16587,
    "h": 341.9
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#A23581
secondary
#75BD8B
accent
#DA784E
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A23581

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

Preview Lab → · Contrast checker → · Palette generator →

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