#A5214C#A5214C

#A5214C is a mid, vivid pink. Relative luminance 0.096; OKLCH L 48.0% C 0.168 H 7.6°. Best body text is #FFFFFF at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#A5214C
RGBrgb(165, 33, 76)
HSLhsl(340, 67%, 39%)
HSVhsv(340, 80%, 65%)
CMYKcmyk(0%, 80%, 53.9%, 35.3%)
CIE-LABlab(37.14, 54.69, 8.63)
CIE-LCHlch(37.14, 55.37, 8.97°)
OKLaboklab(47.98% 0.1667 0.0222)
OKLCHoklch(47.98% 0.168 7.6)
XYZxyz(17.3670, 9.6113, 7.7768)
Luminance0.0961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5214C #21A57A
analogous
#A5218E #A5214C #A53821
triadic
#A5214C #4CA521 #214CA5
tetradic
#A5214C #8EA521 #21A57A #3821A5
square
#A5214C #8EA521 #21A57A #3821A5
split-complementary
#A5214C #21A538 #218EA5
monochromatic
#3F0D1D #721735 #A5214C #D52E64 #DF618A

Accessibility & contrast

On white

7.19
#A5214C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#A5214C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A5214C
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5214C#FFFFFF#000000##FFFFFF
##A5214C1.007.192.927.19
#FFFFFF7.191.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474D
Deuteranopia (green-blind)
#676149
Tritanopia (blue-blind)
#B40034
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a5214c;
/* rgb */ color: rgb(165, 33, 76);
/* oklch */ color: oklch(48.0% 0.168 7.6);
Tailwind
colors: {
  custom: {
    50: '#c66b7d',
    500: '#a5214c',
    950: '#000000',
  },
}
SCSS
$custom: #a5214c;
$custom-light: #c66b7d;
$custom-dark: #000000;
JSON
{
  "hex": "#a5214c",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 76
  },
  "hsl": {
    "h": 340.455,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47981,
    "c": 0.16817,
    "h": 7.6
  },
  "luminance": 0.09609
}

Semantic roles & 50–950 ramp

primary
#A5214C
secondary
#5EC4A3
accent
#EAB23E
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#140709
muted
#837A7B

Preview Lab

Preview with #A5214C

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

Preview Lab → · Contrast checker → · Palette generator →

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