#A7247A#A7247A

#A7247A is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.185 H 345.8°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A7247A
RGBrgb(167, 36, 122)
HSLhsl(321, 65%, 40%)
HSVhsv(321, 78%, 65%)
CMYKcmyk(0%, 78.4%, 26.9%, 34.5%)
CIE-LABlab(39.39, 59.07, -17.15)
CIE-LCHlch(39.39, 61.51, 343.81°)
OKLaboklab(50.2% 0.1794 -0.0455)
OKLCHoklch(50.2% 0.185 345.8)
XYZxyz(20.0810, 10.8846, 19.4520)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7247A #24A751
analogous
#9324A7 #A7247A #A72438
triadic
#A7247A #7AA724 #247AA7
tetradic
#A7247A #A79324 #24A751 #2438A7
square
#A7247A #A79324 #24A751 #2438A7
split-complementary
#A7247A #38A724 #24A793
monochromatic
#420E30 #751955 #A7247A #D3359D #DE67B5

Accessibility & contrast

On white

6.61
#A7247A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A7247A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7247A
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7247A#FFFFFF#000000##FFFFFF
##A7247A1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#374F7C
Deuteranopia (green-blind)
#5E6577
Tritanopia (blue-blind)
#B3214C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a7247a;
/* rgb */ color: rgb(167, 36, 122);
/* oklch */ color: oklch(50.2% 0.185 345.8);
Tailwind
colors: {
  custom: {
    50: '#c56da0',
    500: '#a7247a',
    950: '#000000',
  },
}
SCSS
$custom: #a7247a;
$custom-light: #c56da0;
$custom-dark: #000000;
JSON
{
  "hex": "#a7247a",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 122
  },
  "hsl": {
    "h": 320.611,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50204,
    "c": 0.18513,
    "h": 345.8
  },
  "luminance": 0.10882
}

Semantic roles & 50–950 ramp

primary
#A7247A
secondary
#63C484
accent
#E87A40
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A7247A

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

Preview Lab → · Contrast checker → · Palette generator →

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