#A2317D#A2317D

#A2317D is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.169 H 343.6°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#A2317D
RGBrgb(162, 49, 125)
HSLhsl(320, 54%, 41%)
HSVhsv(320, 70%, 64%)
CMYKcmyk(0%, 69.8%, 22.8%, 36.5%)
CIE-LABlab(40.18, 53.74, -17.86)
CIE-LCHlch(40.18, 56.64, 341.61°)
OKLaboklab(50.66% 0.1617 -0.0477)
OKLCHoklch(50.66% 0.169 343.6)
XYZxyz(19.7010, 11.3607, 20.5533)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2317D #31A256
analogous
#8F31A2 #A2317D #A23145
triadic
#A2317D #7DA231 #317DA2
tetradic
#A2317D #A28F31 #31A256 #3145A2
square
#A2317D #A28F31 #31A256 #3145A2
split-complementary
#A2317D #45A231 #31A28F
monochromatic
#441534 #732359 #A2317D #C8489E #D677B7

Accessibility & contrast

On white

6.42
#A2317D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A2317D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2317D
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2317D#FFFFFF#000000##FFFFFF
##A2317D1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C537F
Deuteranopia (green-blind)
#5E667A
Tritanopia (blue-blind)
#AC3152
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2317d;
/* rgb */ color: rgb(162, 49, 125);
/* oklch */ color: oklch(50.7% 0.169 343.6);
Tailwind
colors: {
  custom: {
    50: '#c172a2',
    500: '#a2317d',
    950: '#000000',
  },
}
SCSS
$custom: #a2317d;
$custom-light: #c172a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a2317d",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 125
  },
  "hsl": {
    "h": 319.646,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50657,
    "c": 0.16859,
    "h": 343.6
  },
  "luminance": 0.11359
}

Semantic roles & 50–950 ramp

primary
#A2317D
secondary
#71BE8A
accent
#DD7B4B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A2317D

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

Preview Lab → · Contrast checker → · Palette generator →

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