#A7248F#A7248F

#A7248F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.2% C 0.198 H 336.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A7248F
RGBrgb(167, 36, 143)
HSLhsl(311, 65%, 40%)
HSVhsv(311, 78%, 65%)
CMYKcmyk(0%, 78.4%, 14.4%, 34.5%)
CIE-LABlab(40.35, 61.89, -28.59)
CIE-LCHlch(40.35, 68.17, 335.20°)
OKLaboklab(51.21% 0.1824 -0.0779)
OKLCHoklch(51.21% 0.198 336.9)
XYZxyz(21.5256, 11.4625, 27.0601)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7248F #24A73C
analogous
#7D24A7 #A7248F #A7244E
triadic
#A7248F #8FA724 #248FA7
tetradic
#A7248F #A77D24 #24A73C #244EA7
square
#A7248F #A77D24 #24A73C #244EA7
split-complementary
#A7248F #4EA724 #24A77D
monochromatic
#420E39 #751964 #A7248F #D335B6 #DE67C8

Accessibility & contrast

On white

6.38
#A7248F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A7248F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7248F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7248F#FFFFFF#000000##FFFFFF
##A7248F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285292
Deuteranopia (green-blind)
#57668C
Tritanopia (blue-blind)
#B02D58
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7248f;
/* rgb */ color: rgb(167, 36, 143);
/* oklch */ color: oklch(51.2% 0.198 336.9);
Tailwind
colors: {
  custom: {
    50: '#c56eb0',
    500: '#a7248f',
    950: '#000000',
  },
}
SCSS
$custom: #a7248f;
$custom-light: #c56eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a7248f",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 310.992,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51213,
    "c": 0.19835,
    "h": 336.9
  },
  "luminance": 0.1146
}

Semantic roles & 50–950 ramp

primary
#A7248F
secondary
#63C475
accent
#E85F40
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7248F

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

Preview Lab → · Contrast checker → · Palette generator →

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