#A4318B#A4318B

#A4318B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.179 H 337.8°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A4318B
RGBrgb(164, 49, 139)
HSLhsl(313, 54%, 42%)
HSVhsv(313, 70%, 64%)
CMYKcmyk(0%, 70.1%, 15.2%, 35.7%)
CIE-LABlab(41.14, 56.29, -24.95)
CIE-LCHlch(41.14, 61.57, 336.10°)
OKLaboklab(51.63% 0.1661 -0.0676)
OKLCHoklch(51.63% 0.179 337.8)
XYZxyz(21.0688, 11.9551, 25.6190)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4318B #31A44A
analogous
#8431A4 #A4318B #A43152
triadic
#A4318B #8BA431 #318BA4
tetradic
#A4318B #A48431 #31A44A #3152A4
square
#A4318B #A48431 #31A44A #3152A4
split-complementary
#A4318B #52A431 #31A484
monochromatic
#46153B #752363 #A4318B #C949AD #D779C2

Accessibility & contrast

On white

6.19
#A4318B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#A4318B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4318B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4318B#FFFFFF#000000##FFFFFF
##A4318B1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35568E
Deuteranopia (green-blind)
#5B6788
Tritanopia (blue-blind)
#AD375A
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a4318b;
/* rgb */ color: rgb(164, 49, 139);
/* oklch */ color: oklch(51.6% 0.179 337.8);
Tailwind
colors: {
  custom: {
    50: '#c273ad',
    500: '#a4318b',
    950: '#000000',
  },
}
SCSS
$custom: #a4318b;
$custom-light: #c273ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a4318b",
  "rgb": {
    "r": 164,
    "g": 49,
    "b": 139
  },
  "hsl": {
    "h": 313.043,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51627,
    "c": 0.17938,
    "h": 337.8
  },
  "luminance": 0.11953
}

Semantic roles & 50–950 ramp

primary
#A4318B
secondary
#72BF82
accent
#DD6A4A
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A4318B

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

Preview Lab → · Contrast checker → · Palette generator →

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