#A7247E#A7247E

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

Color values

HEX#A7247E
RGBrgb(167, 36, 126)
HSLhsl(319, 65%, 40%)
HSVhsv(319, 78%, 65%)
CMYKcmyk(0%, 78.4%, 24.6%, 34.5%)
CIE-LABlab(39.56, 59.57, -19.37)
CIE-LCHlch(39.56, 62.64, 341.99°)
OKLaboklab(50.38% 0.1802 -0.0517)
OKLCHoklch(50.38% 0.187 344)
XYZxyz(20.3340, 10.9858, 20.7842)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7247E #24A74D
analogous
#8F24A7 #A7247E #A7243C
triadic
#A7247E #7EA724 #247EA7
tetradic
#A7247E #A78F24 #24A74D #243CA7
square
#A7247E #A78F24 #24A74D #243CA7
split-complementary
#A7247E #3CA724 #24A78F
monochromatic
#420E32 #751958 #A7247E #D335A2 #DE67B9

Accessibility & contrast

On white

6.57
#A7247E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A7247E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7247E
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7247E#FFFFFF#000000##FFFFFF
##A7247E1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F80
Deuteranopia (green-blind)
#5D657B
Tritanopia (blue-blind)
#B2234F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a7247e;
/* rgb */ color: rgb(167, 36, 126);
/* oklch */ color: oklch(50.4% 0.187 344.0);
Tailwind
colors: {
  custom: {
    50: '#c56ea3',
    500: '#a7247e',
    950: '#000000',
  },
}
SCSS
$custom: #a7247e;
$custom-light: #c56ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#a7247e",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 126
  },
  "hsl": {
    "h": 318.779,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50384,
    "c": 0.18747,
    "h": 344
  },
  "luminance": 0.10984
}

Semantic roles & 50–950 ramp

primary
#A7247E
secondary
#63C481
accent
#E87540
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A7247E

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

Preview Lab → · Contrast checker → · Palette generator →

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