#A7247F#A7247F

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

Color values

HEX#A7247F
RGBrgb(167, 36, 127)
HSLhsl(318, 65%, 40%)
HSVhsv(318, 78%, 65%)
CMYKcmyk(0%, 78.4%, 24%, 34.5%)
CIE-LABlab(39.60, 59.70, -19.92)
CIE-LCHlch(39.60, 62.94, 341.55°)
OKLaboklab(50.43% 0.1804 -0.0533)
OKLCHoklch(50.43% 0.188 343.5)
XYZxyz(20.3988, 11.0118, 21.1258)
Luminance0.1101 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7247F #24A74C
analogous
#8E24A7 #A7247F #A7243D
triadic
#A7247F #7FA724 #247FA7
tetradic
#A7247F #A78E24 #24A74C #243DA7
square
#A7247F #A78E24 #24A74C #243DA7
split-complementary
#A7247F #3DA724 #24A78E
monochromatic
#420E32 #751959 #A7247F #D335A3 #DE67BA

Accessibility & contrast

On white

6.56
#A7247F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7247F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7247F#FFFFFF#000000##FFFFFF
##A7247F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#344F81
Deuteranopia (green-blind)
#5D657C
Tritanopia (blue-blind)
#B2244F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a7247f;
/* rgb */ color: rgb(167, 36, 127);
/* oklch */ color: oklch(50.4% 0.188 343.5);
Tailwind
colors: {
  custom: {
    50: '#c56ea4',
    500: '#a7247f',
    950: '#000000',
  },
}
SCSS
$custom: #a7247f;
$custom-light: #c56ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#a7247f",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 127
  },
  "hsl": {
    "h": 318.321,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5043,
    "c": 0.18807,
    "h": 343.5
  },
  "luminance": 0.1101
}

Semantic roles & 50–950 ramp

primary
#A7247F
secondary
#63C480
accent
#E87340
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A7247F

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

Preview Lab → · Contrast checker → · Palette generator →

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