#A7248E#A7248E

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

Color values

HEX#A7248E
RGBrgb(167, 36, 142)
HSLhsl(311, 65%, 40%)
HSVhsv(311, 78%, 65%)
CMYKcmyk(0%, 78.4%, 15%, 34.5%)
CIE-LABlab(40.30, 61.75, -28.06)
CIE-LCHlch(40.30, 67.82, 335.56°)
OKLaboklab(51.16% 0.1823 -0.0764)
OKLCHoklch(51.16% 0.198 337.3)
XYZxyz(21.4502, 11.4323, 26.6629)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7248E #24A73D
analogous
#7E24A7 #A7248E #A7244D
triadic
#A7248E #8EA724 #248EA7
tetradic
#A7248E #A77E24 #24A73D #244DA7
square
#A7248E #A77E24 #24A73D #244DA7
split-complementary
#A7248E #4DA724 #24A77E
monochromatic
#420E38 #751963 #A7248E #D335B5 #DE67C8

Accessibility & contrast

On white

6.39
#A7248E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7248E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7248E#FFFFFF#000000##FFFFFF
##A7248E1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295291
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#B02D57
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a7248e;
/* rgb */ color: rgb(167, 36, 142);
/* oklch */ color: oklch(51.2% 0.198 337.3);
Tailwind
colors: {
  custom: {
    50: '#c56eaf',
    500: '#a7248e',
    950: '#000000',
  },
}
SCSS
$custom: #a7248e;
$custom-light: #c56eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#a7248e",
  "rgb": {
    "r": 167,
    "g": 36,
    "b": 142
  },
  "hsl": {
    "h": 311.45,
    "s": 64.532,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51162,
    "c": 0.19767,
    "h": 337.3
  },
  "luminance": 0.1143
}

Semantic roles & 50–950 ramp

primary
#A7248E
secondary
#63C475
accent
#E86040
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A7248E

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

Preview Lab → · Contrast checker → · Palette generator →

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