#A2317E#A2317E

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

Color values

HEX#A2317E
RGBrgb(162, 49, 126)
HSLhsl(319, 54%, 41%)
HSVhsv(319, 70%, 64%)
CMYKcmyk(0%, 69.8%, 22.2%, 36.5%)
CIE-LABlab(40.22, 53.88, -18.42)
CIE-LCHlch(40.22, 56.94, 341.13°)
OKLaboklab(50.7% 0.1619 -0.0492)
OKLCHoklch(50.7% 0.169 343.1)
XYZxyz(19.7652, 11.3863, 20.8915)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2317E #31A255
analogous
#8E31A2 #A2317E #A23146
triadic
#A2317E #7EA231 #317EA2
tetradic
#A2317E #A28E31 #31A255 #3146A2
square
#A2317E #A28E31 #31A255 #3146A2
split-complementary
#A2317E #46A231 #31A28E
monochromatic
#441535 #732359 #A2317E #C8489F #D677B8

Accessibility & contrast

On white

6.41
#A2317E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A2317E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2317E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2317E#FFFFFF#000000##FFFFFF
##A2317E1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5380
Deuteranopia (green-blind)
#5E667B
Tritanopia (blue-blind)
#AC3153
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a2317e;
/* rgb */ color: rgb(162, 49, 126);
/* oklch */ color: oklch(50.7% 0.169 343.1);
Tailwind
colors: {
  custom: {
    50: '#c172a3',
    500: '#a2317e',
    950: '#000000',
  },
}
SCSS
$custom: #a2317e;
$custom-light: #c172a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a2317e",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 126
  },
  "hsl": {
    "h": 319.115,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50702,
    "c": 0.16922,
    "h": 343.1
  },
  "luminance": 0.11384
}

Semantic roles & 50–950 ramp

primary
#A2317E
secondary
#71BE89
accent
#DD794B
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A2317E

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

Preview Lab → · Contrast checker → · Palette generator →

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