#A2318E#A2318E

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

Color values

HEX#A2318E
RGBrgb(162, 49, 142)
HSLhsl(311, 54%, 41%)
HSVhsv(311, 70%, 64%)
CMYKcmyk(0%, 69.8%, 12.3%, 36.5%)
CIE-LABlab(40.95, 56.23, -27.10)
CIE-LCHlch(40.95, 62.42, 334.26°)
OKLaboklab(51.47% 0.1645 -0.0738)
OKLCHoklch(51.47% 0.18 335.8)
XYZxyz(20.8814, 11.8328, 26.7701)
Luminance0.1183 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2318E #31A245
analogous
#7E31A2 #A2318E #A23156
triadic
#A2318E #8EA231 #318EA2
tetradic
#A2318E #A27E31 #31A245 #3156A2
square
#A2318E #A27E31 #31A245 #3156A2
split-complementary
#A2318E #56A231 #31A27E
monochromatic
#44153C #732365 #A2318E #C848B1 #D677C5

Accessibility & contrast

On white

6.24
#A2318E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A2318E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A2318E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2318E#FFFFFF#000000##FFFFFF
##A2318E1.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325691
Deuteranopia (green-blind)
#58678B
Tritanopia (blue-blind)
#AA385B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a2318e;
/* rgb */ color: rgb(162, 49, 142);
/* oklch */ color: oklch(51.5% 0.180 335.8);
Tailwind
colors: {
  custom: {
    50: '#c173af',
    500: '#a2318e',
    950: '#000000',
  },
}
SCSS
$custom: #a2318e;
$custom-light: #c173af;
$custom-dark: #000000;
JSON
{
  "hex": "#a2318e",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 142
  },
  "hsl": {
    "h": 310.619,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51466,
    "c": 0.18028,
    "h": 335.8
  },
  "luminance": 0.11831
}

Semantic roles & 50–950 ramp

primary
#A2318E
secondary
#71BE7E
accent
#DD654B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A2318E

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

Preview Lab → · Contrast checker → · Palette generator →

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