#A2317A#A2317A

#A2317A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.167 H 345.0°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A2317A
RGBrgb(162, 49, 122)
HSLhsl(321, 54%, 41%)
HSVhsv(321, 70%, 64%)
CMYKcmyk(0%, 69.8%, 24.7%, 36.5%)
CIE-LABlab(40.06, 53.33, -16.20)
CIE-LCHlch(40.06, 55.74, 343.11°)
OKLaboklab(50.53% 0.1611 -0.043)
OKLCHoklch(50.53% 0.167 345)
XYZxyz(19.5122, 11.2851, 19.5592)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2317A #31A259
analogous
#9231A2 #A2317A #A23142
triadic
#A2317A #7AA231 #317AA2
tetradic
#A2317A #A29231 #31A259 #3142A2
square
#A2317A #A29231 #31A259 #3142A2
split-complementary
#A2317A #42A231 #31A292
monochromatic
#441533 #732357 #A2317A #C8489B #D677B5

Accessibility & contrast

On white

6.45
#A2317A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A2317A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2317A
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2317A#FFFFFF#000000##FFFFFF
##A2317A1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E527C
Deuteranopia (green-blind)
#5F6577
Tritanopia (blue-blind)
#AD2F51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a2317a;
/* rgb */ color: rgb(162, 49, 122);
/* oklch */ color: oklch(50.5% 0.167 345.0);
Tailwind
colors: {
  custom: {
    50: '#c172a0',
    500: '#a2317a',
    950: '#000000',
  },
}
SCSS
$custom: #a2317a;
$custom-light: #c172a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2317a",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 122
  },
  "hsl": {
    "h": 321.239,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50525,
    "c": 0.16671,
    "h": 345
  },
  "luminance": 0.11283
}

Semantic roles & 50–950 ramp

primary
#A2317A
secondary
#71BE8C
accent
#DD7F4B
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A2317A

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

Preview Lab → · Contrast checker → · Palette generator →

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