#A5214D#A5214D

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

Color values

HEX#A5214D
RGBrgb(165, 33, 77)
HSLhsl(340, 67%, 39%)
HSVhsv(340, 80%, 65%)
CMYKcmyk(0%, 80%, 53.3%, 35.3%)
CIE-LABlab(37.16, 54.77, 8.03)
CIE-LCHlch(37.16, 55.36, 8.34°)
OKLaboklab(48.01% 0.1671 0.0207)
OKLCHoklch(48.01% 0.168 7.1)
XYZxyz(17.4021, 9.6254, 7.9613)
Luminance0.0962 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A5214D #21A579
analogous
#A5218F #A5214D #A53721
triadic
#A5214D #4DA521 #214DA5
tetradic
#A5214D #8FA521 #21A579 #3721A5
square
#A5214D #8FA521 #21A579 #3721A5
split-complementary
#A5214D #21A537 #218FA5
monochromatic
#3F0D1D #721735 #A5214D #D52E66 #DF618B

Accessibility & contrast

On white

7.18
#A5214D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A5214D
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A5214D#FFFFFF#000000##FFFFFF
##A5214D1.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#44474E
Deuteranopia (green-blind)
#67614A
Tritanopia (blue-blind)
#B40034
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a5214d;
/* rgb */ color: rgb(165, 33, 77);
/* oklch */ color: oklch(48.0% 0.168 7.1);
Tailwind
colors: {
  custom: {
    50: '#c66b7e',
    500: '#a5214d',
    950: '#000000',
  },
}
SCSS
$custom: #a5214d;
$custom-light: #c66b7e;
$custom-dark: #000000;
JSON
{
  "hex": "#a5214d",
  "rgb": {
    "r": 165,
    "g": 33,
    "b": 77
  },
  "hsl": {
    "h": 340,
    "s": 66.667,
    "l": 38.824
  },
  "oklch": {
    "l": 0.48009,
    "c": 0.16836,
    "h": 7.1
  },
  "luminance": 0.09623
}

Semantic roles & 50–950 ramp

primary
#A5214D
secondary
#5EC4A2
accent
#EAB03E
background
#FCF6F7
surface
#F9ECEE
border
#D2C7C9
text
#140709
muted
#827A7B

Preview Lab

Preview with #A5214D

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

Preview Lab → · Contrast checker → · Palette generator →

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