#A7247D#A7247D

#A7247D is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.3% C 0.187 H 344.4°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A7247D
RGBrgb(167, 36, 125)
HSLhsl(319, 65%, 40%)
HSVhsv(319, 78%, 65%)
CMYKcmyk(0%, 78.4%, 25.1%, 34.5%)
CIE-LABlab(39.51, 59.45, -18.82)
CIE-LCHlch(39.51, 62.35, 342.44°)
OKLaboklab(50.34% 0.18 -0.0502)
OKLCHoklch(50.34% 0.187 344.4)
XYZxyz(20.2698, 10.9601, 20.4461)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7247D #24A74E
analogous
#9024A7 #A7247D #A7243B
triadic
#A7247D #7DA724 #247DA7
tetradic
#A7247D #A79024 #24A74E #243BA7
square
#A7247D #A79024 #24A74E #243BA7
split-complementary
#A7247D #3BA724 #24A790
monochromatic
#420E32 #751957 #A7247D #D335A1 #DE67B8

Accessibility & contrast

On white

6.58
#A7247D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A7247D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7247D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7247D#FFFFFF#000000##FFFFFF
##A7247D1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#354F7F
Deuteranopia (green-blind)
#5D657A
Tritanopia (blue-blind)
#B2224E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a7247d;
/* rgb */ color: rgb(167, 36, 125);
/* oklch */ color: oklch(50.3% 0.187 344.4);
Tailwind
colors: {
  custom: {
    50: '#c56ea2',
    500: '#a7247d',
    950: '#000000',
  },
}
SCSS
$custom: #a7247d;
$custom-light: #c56ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#a7247d",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 125
  },
  "hsl": {
    "h": 319.237,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50338,
    "c": 0.18688,
    "h": 344.4
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#A7247D
secondary
#63C482
accent
#E87640
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A7247D

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

Preview Lab → · Contrast checker → · Palette generator →

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