#A7198A#A7198A

#A7198A is a mid, highly saturated pink. Relative luminance 0.107; OKLCH L 50.3% C 0.204 H 338.6°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#A7198A
RGBrgb(167, 25, 138)
HSLhsl(312, 74%, 38%)
HSVhsv(312, 85%, 65%)
CMYKcmyk(0%, 85%, 17.4%, 34.5%)
CIE-LABlab(39.15, 63.93, -27.40)
CIE-LCHlch(39.15, 69.55, 336.80°)
OKLaboklab(50.28% 0.1902 -0.0744)
OKLCHoklch(50.28% 0.204 338.6)
XYZxyz(20.8720, 10.7479, 25.0152)
Luminance0.1075 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7198A #19A736
analogous
#7D19A7 #A7198A #A71943
triadic
#A7198A #8AA719 #198AA7
tetradic
#A7198A #A77D19 #19A736 #1943A7
square
#A7198A #A77D19 #19A736 #1943A7
split-complementary
#A7198A #43A719 #19A77D
monochromatic
#3D0932 #72115E #A7198A #DC21B6 #E655C8

Accessibility & contrast

On white

6.67
#A7198A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#A7198A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7198A
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7198A#FFFFFF#000000##FFFFFF
##A7198A1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234E8D
Deuteranopia (green-blind)
#566487
Tritanopia (blue-blind)
#B12253
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7198a;
/* rgb */ color: rgb(167, 25, 138);
/* oklch */ color: oklch(50.3% 0.204 338.6);
Tailwind
colors: {
  custom: {
    50: '#c56bac',
    500: '#a7198a',
    950: '#000000',
  },
}
SCSS
$custom: #a7198a;
$custom-light: #c56bac;
$custom-dark: #000000;
JSON
{
  "hex": "#a7198a",
  "rgb": {
    "r": 167,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 312.254,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50275,
    "c": 0.20428,
    "h": 338.6
  },
  "luminance": 0.10746
}

Semantic roles & 50–950 ramp

primary
#A7198A
secondary
#53C86B
accent
#F15D37
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A7198A

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

Preview Lab → · Contrast checker → · Palette generator →

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