#A7215C#A7215C

#A7215C is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.174 H 359.9°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#A7215C
RGBrgb(167, 33, 92)
HSLhsl(334, 67%, 39%)
HSVhsv(334, 80%, 65%)
CMYKcmyk(0%, 80.2%, 44.9%, 34.5%)
CIE-LABlab(37.98, 56.63, -0.35)
CIE-LCHlch(37.98, 56.63, 359.64°)
OKLaboklab(48.82% 0.1741 -0.0003)
OKLCHoklch(48.82% 0.174 359.9)
XYZxyz(18.4134, 10.0784, 11.0988)
Luminance0.1008 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7215C #21A76C
analogous
#A7219F #A7215C #A72921
triadic
#A7215C #5CA721 #215CA7
tetradic
#A7215C #9FA721 #21A76C #2921A7
square
#A7215C #9FA721 #21A76C #2921A7
split-complementary
#A7215C #21A729 #219FA7
monochromatic
#410D24 #741740 #A7215C #D62F79 #E0629A

Accessibility & contrast

On white

6.96
#A7215C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.02
#A7215C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7215C
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7215C#FFFFFF#000000##FFFFFF
##A7215C1.006.963.026.96
#FFFFFF6.961.0021.001.00
#0000003.0221.001.0021.00
##FFFFFF6.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495D
Deuteranopia (green-blind)
#656359
Tritanopia (blue-blind)
#B5003C
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7215c;
/* rgb */ color: rgb(167, 33, 92);
/* oklch */ color: oklch(48.8% 0.174 359.9);
Tailwind
colors: {
  custom: {
    50: '#c76b8a',
    500: '#a7215c',
    950: '#000000',
  },
}
SCSS
$custom: #a7215c;
$custom-light: #c76b8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a7215c",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 92
  },
  "hsl": {
    "h": 333.582,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48822,
    "c": 0.17409,
    "h": 359.9
  },
  "luminance": 0.10076
}

Semantic roles & 50–950 ramp

primary
#A7215C
secondary
#5FC598
accent
#EA9E3E
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A7215C

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

Preview Lab → · Contrast checker → · Palette generator →

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