#A7248C#A7248C

#A7248C is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.196 H 338.1°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#A7248C
RGBrgb(167, 36, 140)
HSLhsl(312, 65%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 78.4%, 16.2%, 34.5%)
CIE-LABlab(40.20, 61.46, -26.99)
CIE-LCHlch(40.20, 67.13, 336.29°)
OKLaboklab(51.06% 0.1821 -0.0733)
OKLCHoklch(51.06% 0.196 338.1)
XYZxyz(21.3013, 11.3728, 25.8792)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7248C #24A73F
analogous
#8024A7 #A7248C #A7244B
triadic
#A7248C #8CA724 #248CA7
tetradic
#A7248C #A78024 #24A73F #244BA7
square
#A7248C #A78024 #24A73F #244BA7
split-complementary
#A7248C #4BA724 #24A780
monochromatic
#420E38 #751962 #A7248C #D335B3 #DE67C6

Accessibility & contrast

On white

6.41
#A7248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A7248C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7248C
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7248C#FFFFFF#000000##FFFFFF
##A7248C1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528F
Deuteranopia (green-blind)
#586689
Tritanopia (blue-blind)
#B12C56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7248c;
/* rgb */ color: rgb(167, 36, 140);
/* oklch */ color: oklch(51.1% 0.196 338.1);
Tailwind
colors: {
  custom: {
    50: '#c56eae',
    500: '#a7248c',
    950: '#000000',
  },
}
SCSS
$custom: #a7248c;
$custom-light: #c56eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a7248c",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 312.366,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51059,
    "c": 0.19634,
    "h": 338.1
  },
  "luminance": 0.11371
}

Semantic roles & 50–950 ramp

primary
#A7248C
secondary
#63C477
accent
#E86340
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7248C

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

Preview Lab → · Contrast checker → · Palette generator →

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