#A7248D#A7248D

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

Color values

HEX#A7248D
RGBrgb(167, 36, 141)
HSLhsl(312, 65%, 40%)
HSVhsv(312, 78%, 65%)
CMYKcmyk(0%, 78.4%, 15.6%, 34.5%)
CIE-LABlab(40.25, 61.60, -27.52)
CIE-LCHlch(40.25, 67.47, 335.93°)
OKLaboklab(51.11% 0.1822 -0.0748)
OKLCHoklch(51.11% 0.197 337.7)
XYZxyz(21.3754, 11.4024, 26.2693)
Luminance0.1140 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7248D #24A73E
analogous
#7F24A7 #A7248D #A7244C
triadic
#A7248D #8DA724 #248DA7
tetradic
#A7248D #A77F24 #24A73E #244CA7
square
#A7248D #A77F24 #24A73E #244CA7
split-complementary
#A7248D #4CA724 #24A77F
monochromatic
#420E38 #751962 #A7248D #D335B4 #DE67C7

Accessibility & contrast

On white

6.40
#A7248D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#A7248D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7248D
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7248D#FFFFFF#000000##FFFFFF
##A7248D1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5290
Deuteranopia (green-blind)
#57668A
Tritanopia (blue-blind)
#B02C57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7248d;
/* rgb */ color: rgb(167, 36, 141);
/* oklch */ color: oklch(51.1% 0.197 337.7);
Tailwind
colors: {
  custom: {
    50: '#c56eae',
    500: '#a7248d',
    950: '#000000',
  },
}
SCSS
$custom: #a7248d;
$custom-light: #c56eae;
$custom-dark: #000000;
JSON
{
  "hex": "#a7248d",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 141
  },
  "hsl": {
    "h": 311.908,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5111,
    "c": 0.197,
    "h": 337.7
  },
  "luminance": 0.114
}

Semantic roles & 50–950 ramp

primary
#A7248D
secondary
#63C476
accent
#E86140
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7248D

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

Preview Lab → · Contrast checker → · Palette generator →

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