#A7198B#A7198B

#A7198B is a mid, highly saturated pink. Relative luminance 0.108; OKLCH L 50.3% C 0.205 H 338.2°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#A7198B
RGBrgb(167, 25, 139)
HSLhsl(312, 74%, 38%)
HSVhsv(312, 85%, 65%)
CMYKcmyk(0%, 85%, 16.8%, 34.5%)
CIE-LABlab(39.20, 64.06, -27.94)
CIE-LCHlch(39.20, 69.89, 336.44°)
OKLaboklab(50.33% 0.1903 -0.0759)
OKLCHoklch(50.33% 0.205 338.2)
XYZxyz(20.9447, 10.7770, 25.3982)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7198B #19A735
analogous
#7C19A7 #A7198B #A71944
triadic
#A7198B #8BA719 #198BA7
tetradic
#A7198B #A77C19 #19A735 #1944A7
square
#A7198B #A77C19 #19A735 #1944A7
split-complementary
#A7198B #44A719 #19A77C
monochromatic
#3D0932 #72115F #A7198B #DC21B7 #E655C9

Accessibility & contrast

On white

6.66
#A7198B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A7198B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A7198B#FFFFFF#000000##FFFFFF
##A7198B1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8E
Deuteranopia (green-blind)
#556488
Tritanopia (blue-blind)
#B12353
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a7198b;
/* rgb */ color: rgb(167, 25, 139);
/* oklch */ color: oklch(50.3% 0.205 338.2);
Tailwind
colors: {
  custom: {
    50: '#c56bad',
    500: '#a7198b',
    950: '#000000',
  },
}
SCSS
$custom: #a7198b;
$custom-light: #c56bad;
$custom-dark: #000000;
JSON
{
  "hex": "#a7198b",
  "rgb": {
    "r": 167,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 311.831,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50326,
    "c": 0.20491,
    "h": 338.2
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A7198B

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

Preview Lab → · Contrast checker → · Palette generator →

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