#A7215B#A7215B

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

Color values

HEX#A7215B
RGBrgb(167, 33, 91)
HSLhsl(334, 67%, 39%)
HSVhsv(334, 80%, 65%)
CMYKcmyk(0%, 80.2%, 45.5%, 34.5%)
CIE-LABlab(37.95, 56.54, 0.24)
CIE-LCHlch(37.95, 56.54, 0.24°)
OKLaboklab(48.79% 0.1737 0.0012)
OKLCHoklch(48.79% 0.174 0.4)
XYZxyz(18.3700, 10.0610, 10.8701)
Luminance0.1006 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7215B #21A76D
analogous
#A7219E #A7215B #A72A21
triadic
#A7215B #5BA721 #215BA7
tetradic
#A7215B #9EA721 #21A76D #2A21A7
square
#A7215B #9EA721 #21A76D #2A21A7
split-complementary
#A7215B #21A72A #219EA7
monochromatic
#410D23 #74173F #A7215B #D62F77 #E06299

Accessibility & contrast

On white

6.97
#A7215B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#A7215B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7215B
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7215B#FFFFFF#000000##FFFFFF
##A7215B1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#41495C
Deuteranopia (green-blind)
#656258
Tritanopia (blue-blind)
#B6003B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #a7215b;
/* rgb */ color: rgb(167, 33, 91);
/* oklch */ color: oklch(48.8% 0.174 0.4);
Tailwind
colors: {
  custom: {
    50: '#c76b89',
    500: '#a7215b',
    950: '#000000',
  },
}
SCSS
$custom: #a7215b;
$custom-light: #c76b89;
$custom-dark: #000000;
JSON
{
  "hex": "#a7215b",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 334.03,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48789,
    "c": 0.17375,
    "h": 0.4
  },
  "luminance": 0.10059
}

Semantic roles & 50–950 ramp

primary
#A7215B
secondary
#5FC599
accent
#EA9F3E
background
#FCF6F8
surface
#F9ECF0
border
#D2C7CB
text
#14080B
muted
#827A7C

Preview Lab

Preview with #A7215B

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

Preview Lab → · Contrast checker → · Palette generator →

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