#A7248B#A7248B

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

Color values

HEX#A7248B
RGBrgb(167, 36, 139)
HSLhsl(313, 65%, 40%)
HSVhsv(313, 78%, 65%)
CMYKcmyk(0%, 78.4%, 16.8%, 34.5%)
CIE-LABlab(40.15, 61.32, -26.45)
CIE-LCHlch(40.15, 66.78, 336.67°)
OKLaboklab(51.01% 0.182 -0.0718)
OKLCHoklch(51.01% 0.196 338.5)
XYZxyz(21.2280, 11.3434, 25.4926)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7248B #24A740
analogous
#8124A7 #A7248B #A7244A
triadic
#A7248B #8BA724 #248BA7
tetradic
#A7248B #A78124 #24A740 #244AA7
square
#A7248B #A78124 #24A740 #244AA7
split-complementary
#A7248B #4AA724 #24A781
monochromatic
#420E37 #751961 #A7248B #D335B2 #DE67C5

Accessibility & contrast

On white

6.43
#A7248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7248B
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7248B#FFFFFF#000000##FFFFFF
##A7248B1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B528E
Deuteranopia (green-blind)
#586688
Tritanopia (blue-blind)
#B12B56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7248b;
/* rgb */ color: rgb(167, 36, 139);
/* oklch */ color: oklch(51.0% 0.196 338.5);
Tailwind
colors: {
  custom: {
    50: '#c56ead',
    500: '#a7248b',
    950: '#000000',
  },
}
SCSS
$custom: #a7248b;
$custom-light: #c56ead;
$custom-dark: #000000;
JSON
{
  "hex": "#a7248b",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 312.824,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51009,
    "c": 0.19567,
    "h": 338.5
  },
  "luminance": 0.11341
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7248B

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

Preview Lab → · Contrast checker → · Palette generator →

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