#A0318D#A0318D

#A0318D is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.178 H 335.5°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A0318D
RGBrgb(160, 49, 141)
HSLhsl(310, 53%, 41%)
HSVhsv(310, 69%, 63%)
CMYKcmyk(0%, 69.4%, 11.9%, 37.3%)
CIE-LABlab(40.57, 55.57, -27.12)
CIE-LCHlch(40.57, 61.83, 333.98°)
OKLaboklab(51.11% 0.1623 -0.0739)
OKLCHoklch(51.11% 0.178 335.5)
XYZxyz(20.4035, 11.5950, 26.3576)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A0318D #31A044
analogous
#7B31A0 #A0318D #A03155
triadic
#A0318D #8DA031 #318DA0
tetradic
#A0318D #A07B31 #31A044 #3155A0
square
#A0318D #A07B31 #31A044 #3155A0
split-complementary
#A0318D #55A031 #31A07B
monochromatic
#42143A #712364 #A0318D #C747B1 #D576C5

Accessibility & contrast

On white

6.33
#A0318D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A0318D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A0318D
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A0318D#FFFFFF#000000##FFFFFF
##A0318D1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315590
Deuteranopia (green-blind)
#57668A
Tritanopia (blue-blind)
#A8395B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a0318d;
/* rgb */ color: rgb(160, 49, 141);
/* oklch */ color: oklch(51.1% 0.178 335.5);
Tailwind
colors: {
  custom: {
    50: '#bf73ae',
    500: '#a0318d',
    950: '#000000',
  },
}
SCSS
$custom: #a0318d;
$custom-light: #bf73ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a0318d",
  "rgb": {
    "r": 160,
    "g": 49,
    "b": 141
  },
  "hsl": {
    "h": 310.27,
    "s": 53.11,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51108,
    "c": 0.1783,
    "h": 335.5
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#A0318D
secondary
#70BD7D
accent
#DD644B
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A0318D

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

Preview Lab → · Contrast checker → · Palette generator →

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