#A7214E#A7214E

#A7214E is a mid, vivid pink. Relative luminance 0.099; OKLCH L 48.4% C 0.170 H 7.0°. Best body text is #FFFFFF at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#A7214E
RGBrgb(167, 33, 78)
HSLhsl(340, 67%, 39%)
HSVhsv(340, 80%, 65%)
CMYKcmyk(0%, 80.2%, 53.3%, 34.5%)
CIE-LABlab(37.58, 55.41, 8.03)
CIE-LCHlch(37.58, 55.99, 8.25°)
OKLaboklab(48.4% 0.1691 0.0207)
OKLCHoklch(48.4% 0.17 7)
XYZxyz(17.8570, 9.8558, 8.1683)
Luminance0.0985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7214E #21A77A
analogous
#A72191 #A7214E #A73721
triadic
#A7214E #4EA721 #214EA7
tetradic
#A7214E #91A721 #21A77A #3721A7
square
#A7214E #91A721 #21A77A #3721A7
split-complementary
#A7214E #21A737 #2191A7
monochromatic
#410D1E #741736 #A7214E #D62F67 #E0628D

Accessibility & contrast

On white

7.07
#A7214E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A7214E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A7214E
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7214E#FFFFFF#000000##FFFFFF
##A7214E1.007.072.977.07
#FFFFFF7.071.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45474F
Deuteranopia (green-blind)
#68624B
Tritanopia (blue-blind)
#B60035
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a7214e;
/* rgb */ color: rgb(167, 33, 78);
/* oklch */ color: oklch(48.4% 0.170 7.0);
Tailwind
colors: {
  custom: {
    50: '#c76b7f',
    500: '#a7214e',
    950: '#000000',
  },
}
SCSS
$custom: #a7214e;
$custom-light: #c76b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#a7214e",
  "rgb": {
    "r": 167,
    "g": 33,
    "b": 78
  },
  "hsl": {
    "h": 339.851,
    "s": 67,
    "l": 39.216
  },
  "oklch": {
    "l": 0.48398,
    "c": 0.17032,
    "h": 7
  },
  "luminance": 0.09853
}

Semantic roles & 50–950 ramp

primary
#A7214E
secondary
#5FC5A3
accent
#EAB03E
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#14070A
muted
#837A7C

Preview Lab

Preview with #A7214E

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

Preview Lab → · Contrast checker → · Palette generator →

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