#A7247B#A7247B

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

Color values

HEX#A7247B
RGBrgb(167, 36, 123)
HSLhsl(320, 65%, 40%)
HSVhsv(320, 78%, 65%)
CMYKcmyk(0%, 78.4%, 26.3%, 34.5%)
CIE-LABlab(39.43, 59.19, -17.71)
CIE-LCHlch(39.43, 61.78, 343.35°)
OKLaboklab(50.25% 0.1796 -0.0471)
OKLCHoklch(50.25% 0.186 345.3)
XYZxyz(20.1433, 10.9095, 19.7800)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7247B #24A750
analogous
#9224A7 #A7247B #A72439
triadic
#A7247B #7BA724 #247BA7
tetradic
#A7247B #A79224 #24A750 #2439A7
square
#A7247B #A79224 #24A750 #2439A7
split-complementary
#A7247B #39A724 #24A792
monochromatic
#420E31 #751956 #A7247B #D3359E #DE67B6

Accessibility & contrast

On white

6.60
#A7247B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7247B
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7247B#FFFFFF#000000##FFFFFF
##A7247B1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#364F7D
Deuteranopia (green-blind)
#5E6578
Tritanopia (blue-blind)
#B3214D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a7247b;
/* rgb */ color: rgb(167, 36, 123);
/* oklch */ color: oklch(50.2% 0.186 345.3);
Tailwind
colors: {
  custom: {
    50: '#c56da1',
    500: '#a7247b',
    950: '#000000',
  },
}
SCSS
$custom: #a7247b;
$custom-light: #c56da1;
$custom-dark: #000000;
JSON
{
  "hex": "#a7247b",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 123
  },
  "hsl": {
    "h": 320.153,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50248,
    "c": 0.1857,
    "h": 345.3
  },
  "luminance": 0.10907
}

Semantic roles & 50–950 ramp

primary
#A7247B
secondary
#63C483
accent
#E87840
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A7247B

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

Preview Lab → · Contrast checker → · Palette generator →

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