#A23481#A23481

#A23481 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.167 H 341.9°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#A23481
RGBrgb(162, 52, 129)
HSLhsl(318, 51%, 42%)
HSVhsv(318, 68%, 64%)
CMYKcmyk(0%, 67.9%, 20.4%, 36.5%)
CIE-LABlab(40.77, 53.13, -19.42)
CIE-LCHlch(40.77, 56.57, 339.92°)
OKLaboklab(51.15% 0.1589 -0.0521)
OKLCHoklch(51.15% 0.167 341.9)
XYZxyz(20.0913, 11.7243, 21.9695)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23481 #34A255
analogous
#8C34A2 #A23481 #A2344A
triadic
#A23481 #81A234 #3481A2
tetradic
#A23481 #A28C34 #34A255 #344AA2
square
#A23481 #A28C34 #34A255 #344AA2
split-complementary
#A23481 #4AA234 #34A28C
monochromatic
#451637 #74255C #A23481 #C64DA2 #D57CBA

Accessibility & contrast

On white

6.28
#A23481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A23481
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23481#FFFFFF#000000##FFFFFF
##A234811.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5583
Deuteranopia (green-blind)
#5E677E
Tritanopia (blue-blind)
#AC3556
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a23481;
/* rgb */ color: rgb(162, 52, 129);
/* oklch */ color: oklch(51.1% 0.167 341.9);
Tailwind
colors: {
  custom: {
    50: '#c174a5',
    500: '#a23481',
    950: '#000000',
  },
}
SCSS
$custom: #a23481;
$custom-light: #c174a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23481",
  "rgb": {
    "r": 162,
    "g": 52,
    "b": 129
  },
  "hsl": {
    "h": 318,
    "s": 51.402,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.16722,
    "h": 341.9
  },
  "luminance": 0.11722
}

Semantic roles & 50–950 ramp

primary
#A23481
secondary
#74BE8A
accent
#DB784D
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A23481

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

Preview Lab → · Contrast checker → · Palette generator →

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