#A72B98#A72B98

#A72B98 is a mid, vivid purple. Relative luminance 0.122; OKLCH L 52.2% C 0.198 H 333.5°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#A72B98
RGBrgb(167, 43, 152)
HSLhsl(307, 59%, 41%)
HSVhsv(307, 74%, 65%)
CMYKcmyk(0%, 74.3%, 9%, 34.5%)
CIE-LABlab(41.55, 61.09, -32.17)
CIE-LCHlch(41.55, 69.04, 332.23°)
OKLaboklab(52.23% 0.1768 -0.0882)
OKLCHoklch(52.23% 0.198 333.5)
XYZxyz(22.4679, 12.2122, 30.8735)
Luminance0.1221 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A72B98 #2BA73A
analogous
#782BA7 #A72B98 #A72B5A
triadic
#A72B98 #98A72B #2B98A7
tetradic
#A72B98 #A7782B #2BA73A #2B5AA7
square
#A72B98 #A7782B #2BA73A #2B5AA7
split-complementary
#A72B98 #5AA72B #2BA778
monochromatic
#46123F #761E6C #A72B98 #CE41BD #DB72CE

Accessibility & contrast

On white

6.10
#A72B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#A72B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A72B98
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A72B98#FFFFFF#000000##FFFFFF
##A72B981.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579B
Deuteranopia (green-blind)
#556895
Tritanopia (blue-blind)
#AF375F
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #a72b98;
/* rgb */ color: rgb(167, 43, 152);
/* oklch */ color: oklch(52.2% 0.198 333.5);
Tailwind
colors: {
  custom: {
    50: '#c571b6',
    500: '#a72b98',
    950: '#000000',
  },
}
SCSS
$custom: #a72b98;
$custom-light: #c571b6;
$custom-dark: #000000;
JSON
{
  "hex": "#a72b98",
  "rgb": {
    "r": 167,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 307.258,
    "s": 59.048,
    "l": 41.176
  },
  "oklch": {
    "l": 0.52226,
    "c": 0.19753,
    "h": 333.5
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#A72B98
secondary
#6CC276
accent
#E25946
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130911
muted
#827B80

Preview Lab

Preview with #A72B98

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

Preview Lab → · Contrast checker → · Palette generator →

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