#A7248A#A7248A

#A7248A is a mid, vivid pink. Relative luminance 0.113; OKLCH L 51.0% C 0.195 H 338.9°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#A7248A
RGBrgb(167, 36, 138)
HSLhsl(313, 65%, 40%)
HSVhsv(313, 78%, 65%)
CMYKcmyk(0%, 78.4%, 17.4%, 34.5%)
CIE-LABlab(40.10, 61.18, -25.91)
CIE-LCHlch(40.10, 66.44, 337.04°)
OKLaboklab(50.96% 0.1819 -0.0702)
OKLCHoklch(50.96% 0.195 338.9)
XYZxyz(21.1552, 11.3143, 25.1096)
Luminance0.1131 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7248A #24A741
analogous
#8224A7 #A7248A #A72449
triadic
#A7248A #8AA724 #248AA7
tetradic
#A7248A #A78224 #24A741 #2449A7
square
#A7248A #A78224 #24A741 #2449A7
split-complementary
#A7248A #49A724 #24A782
monochromatic
#420E37 #751960 #A7248A #D335B0 #DE67C4

Accessibility & contrast

On white

6.44
#A7248A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A7248A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7248A
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7248A#FFFFFF#000000##FFFFFF
##A7248A1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C528D
Deuteranopia (green-blind)
#596687
Tritanopia (blue-blind)
#B12A55
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a7248a;
/* rgb */ color: rgb(167, 36, 138);
/* oklch */ color: oklch(51.0% 0.195 338.9);
Tailwind
colors: {
  custom: {
    50: '#c56eac',
    500: '#a7248a',
    950: '#000000',
  },
}
SCSS
$custom: #a7248a;
$custom-light: #c56eac;
$custom-dark: #000000;
JSON
{
  "hex": "#a7248a",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 138
  },
  "hsl": {
    "h": 313.282,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.50959,
    "c": 0.19501,
    "h": 338.9
  },
  "luminance": 0.11312
}

Semantic roles & 50–950 ramp

primary
#A7248A
secondary
#63C478
accent
#E86540
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7248A

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

Preview Lab → · Contrast checker → · Palette generator →

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