#A8198B#A8198B

#A8198B is a mid, highly saturated pink. Relative luminance 0.109; OKLCH L 50.5% C 0.205 H 338.6°. Best body text is #FFFFFF at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#A8198B
RGBrgb(168, 25, 139)
HSLhsl(312, 74%, 38%)
HSVhsv(312, 85%, 66%)
CMYKcmyk(0%, 85.1%, 17.3%, 34.1%)
CIE-LABlab(39.39, 64.28, -27.63)
CIE-LCHlch(39.39, 69.97, 336.74°)
OKLaboklab(50.49% 0.1912 -0.0751)
OKLCHoklch(50.49% 0.205 338.6)
XYZxyz(21.1569, 10.8863, 25.4082)
Luminance0.1088 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8198B #19A836
analogous
#7D19A8 #A8198B #A81943
triadic
#A8198B #8BA819 #198BA8
tetradic
#A8198B #A87D19 #19A836 #1943A8
square
#A8198B #A87D19 #19A836 #1943A8
split-complementary
#A8198B #43A819 #19A87D
monochromatic
#3D0933 #73115F #A8198B #DD21B7 #E656C9

Accessibility & contrast

On white

6.61
#A8198B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A8198B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8198B
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8198B#FFFFFF#000000##FFFFFF
##A8198B1.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#234F8E
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#B22353
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8198b;
/* rgb */ color: rgb(168, 25, 139);
/* oklch */ color: oklch(50.5% 0.205 338.6);
Tailwind
colors: {
  custom: {
    50: '#c66bad',
    500: '#a8198b',
    950: '#000000',
  },
}
SCSS
$custom: #a8198b;
$custom-light: #c66bad;
$custom-dark: #000000;
JSON
{
  "hex": "#a8198b",
  "rgb": {
    "r": 168,
    "g": 25,
    "b": 139
  },
  "hsl": {
    "h": 312.168,
    "s": 74.093,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50494,
    "c": 0.20543,
    "h": 338.6
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#A8198B
secondary
#54C96C
accent
#F15D37
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #A8198B

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

Preview Lab → · Contrast checker → · Palette generator →

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