#A7198C#A7198C

#A7198C is a mid, highly saturated pink. Relative luminance 0.108; OKLCH L 50.4% C 0.206 H 337.9°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#A7198C
RGBrgb(167, 25, 140)
HSLhsl(311, 74%, 38%)
HSVhsv(311, 85%, 65%)
CMYKcmyk(0%, 85%, 16.2%, 34.5%)
CIE-LABlab(39.25, 64.20, -28.47)
CIE-LCHlch(39.25, 70.23, 336.08°)
OKLaboklab(50.38% 0.1904 -0.0775)
OKLCHoklch(50.38% 0.206 337.9)
XYZxyz(21.0181, 10.8063, 25.7848)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7198C #19A734
analogous
#7B19A7 #A7198C #A71945
triadic
#A7198C #8CA719 #198CA7
tetradic
#A7198C #A77B19 #19A734 #1945A7
square
#A7198C #A77B19 #19A734 #1945A7
split-complementary
#A7198C #45A719 #19A77B
monochromatic
#3D0933 #72115F #A7198C #DC21B9 #E655CA

Accessibility & contrast

On white

6.64
#A7198C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A7198C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A7198C
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7198C#FFFFFF#000000##FFFFFF
##A7198C1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F8F
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#B12454
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7198c;
/* rgb */ color: rgb(167, 25, 140);
/* oklch */ color: oklch(50.4% 0.206 337.9);
Tailwind
colors: {
  custom: {
    50: '#c56bae',
    500: '#a7198c',
    950: '#000000',
  },
}
SCSS
$custom: #a7198c;
$custom-light: #c56bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a7198c",
  "rgb": {
    "r": 167,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 311.408,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50378,
    "c": 0.20555,
    "h": 337.9
  },
  "luminance": 0.10804
}

Semantic roles & 50–950 ramp

primary
#A7198C
secondary
#53C86A
accent
#F15A37
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A7198C

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

Preview Lab → · Contrast checker → · Palette generator →

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