#A2318F#A2318F

#A2318F is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.181 H 335.4°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A2318F
RGBrgb(162, 49, 143)
HSLhsl(310, 54%, 41%)
HSVhsv(310, 70%, 64%)
CMYKcmyk(0%, 69.8%, 11.7%, 36.5%)
CIE-LABlab(41.00, 56.38, -27.64)
CIE-LCHlch(41.00, 62.79, 333.89°)
OKLaboklab(51.52% 0.1646 -0.0754)
OKLCHoklch(51.52% 0.181 335.4)
XYZxyz(20.9568, 11.8630, 27.1673)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A2318F #31A244
analogous
#7D31A2 #A2318F #A23157
triadic
#A2318F #8FA231 #318FA2
tetradic
#A2318F #A27D31 #31A244 #3157A2
square
#A2318F #A27D31 #31A244 #3157A2
split-complementary
#A2318F #57A231 #31A27D
monochromatic
#44153C #732366 #A2318F #C848B2 #D677C6

Accessibility & contrast

On white

6.23
#A2318F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A2318F
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A2318F#FFFFFF#000000##FFFFFF
##A2318F1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315692
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#AA395C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a2318f;
/* rgb */ color: rgb(162, 49, 143);
/* oklch */ color: oklch(51.5% 0.181 335.4);
Tailwind
colors: {
  custom: {
    50: '#c173b0',
    500: '#a2318f',
    950: '#000000',
  },
}
SCSS
$custom: #a2318f;
$custom-light: #c173b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a2318f",
  "rgb": {
    "r": 162,
    "g": 49,
    "b": 143
  },
  "hsl": {
    "h": 310.088,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51517,
    "c": 0.18102,
    "h": 335.4
  },
  "luminance": 0.11861
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A2318F

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

Preview Lab → · Contrast checker → · Palette generator →

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