#A23281#A23281

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

Color values

HEX#A23281
RGBrgb(162, 50, 129)
HSLhsl(318, 53%, 42%)
HSVhsv(318, 69%, 64%)
CMYKcmyk(0%, 69.1%, 20.4%, 36.5%)
CIE-LABlab(40.49, 53.92, -19.86)
CIE-LCHlch(40.49, 57.46, 339.78°)
OKLaboklab(50.94% 0.1613 -0.0533)
OKLCHoklch(50.94% 0.17 341.7)
XYZxyz(20.0039, 11.5495, 21.9404)
Luminance0.1155 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A23281 #32A253
analogous
#8B32A2 #A23281 #A23249
triadic
#A23281 #81A232 #3281A2
tetradic
#A23281 #A28B32 #32A253 #3249A2
square
#A23281 #A28B32 #32A253 #3249A2
split-complementary
#A23281 #49A232 #32A28B
monochromatic
#441537 #73245C #A23281 #C74AA2 #D679BA

Accessibility & contrast

On white

6.35
#A23281 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A23281 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A23281
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A23281#FFFFFF#000000##FFFFFF
##A232811.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a23281;
/* rgb */ color: rgb(162, 50, 129);
/* oklch */ color: oklch(50.9% 0.170 341.7);
Tailwind
colors: {
  custom: {
    50: '#c173a5',
    500: '#a23281',
    950: '#000000',
  },
}
SCSS
$custom: #a23281;
$custom-light: #c173a5;
$custom-dark: #000000;
JSON
{
  "hex": "#a23281",
  "rgb": {
    "r": 162,
    "g": 50,
    "b": 129
  },
  "hsl": {
    "h": 317.679,
    "s": 52.83,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50939,
    "c": 0.16988,
    "h": 341.7
  },
  "luminance": 0.11548
}

Semantic roles & 50–950 ramp

primary
#A23281
secondary
#72BE88
accent
#DC764C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A23281

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

Preview Lab → · Contrast checker → · Palette generator →

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