#A2318D#A2318D

#A2318D is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.180 H 336.3°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A2318D
RGBrgb(162, 49, 141)
HSLhsl(311, 54%, 41%)
HSVhsv(311, 70%, 64%)
CMYKcmyk(0%, 69.8%, 13%, 36.5%)
CIE-LABlab(40.90, 56.08, -26.57)
CIE-LCHlch(40.90, 62.05, 334.65°)
OKLaboklab(51.42% 0.1644 -0.0723)
OKLCHoklch(51.42% 0.18 336.3)
XYZxyz(20.8066, 11.8029, 26.3765)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2318D #31A246
analogous
#7F31A2 #A2318D #A23155
triadic
#A2318D #8DA231 #318DA2
tetradic
#A2318D #A27F31 #31A246 #3155A2
square
#A2318D #A27F31 #31A246 #3155A2
split-complementary
#A2318D #55A231 #31A27F
monochromatic
#44153B #732364 #A2318D #C848B0 #D677C4

Accessibility & contrast

On white

6.25
#A2318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A2318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2318D
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2318D#FFFFFF#000000##FFFFFF
##A2318D1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335690
Deuteranopia (green-blind)
#58678A
Tritanopia (blue-blind)
#AA385B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a2318d;
/* rgb */ color: rgb(162, 49, 141);
/* oklch */ color: oklch(51.4% 0.180 336.3);
Tailwind
colors: {
  custom: {
    50: '#c173ae',
    500: '#a2318d',
    950: '#000000',
  },
}
SCSS
$custom: #a2318d;
$custom-light: #c173ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a2318d",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 311.15,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51416,
    "c": 0.17955,
    "h": 336.3
  },
  "luminance": 0.11801
}

Semantic roles & 50–950 ramp

primary
#A2318D
secondary
#71BE7F
accent
#DD664B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A2318D

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

Preview Lab → · Contrast checker → · Palette generator →

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