#A8198A#A8198A

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

Color values

HEX#A8198A
RGBrgb(168, 25, 138)
HSLhsl(313, 74%, 38%)
HSVhsv(313, 85%, 66%)
CMYKcmyk(0%, 85.1%, 17.9%, 34.1%)
CIE-LABlab(39.34, 64.14, -27.10)
CIE-LCHlch(39.34, 69.63, 337.10°)
OKLaboklab(50.44% 0.1911 -0.0735)
OKLCHoklch(50.44% 0.205 339)
XYZxyz(21.0841, 10.8572, 25.0251)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8198A #19A837
analogous
#7E19A8 #A8198A #A81943
triadic
#A8198A #8AA819 #198AA8
tetradic
#A8198A #A87E19 #19A837 #1943A8
square
#A8198A #A87E19 #19A837 #1943A8
split-complementary
#A8198A #43A819 #19A87E
monochromatic
#3D0932 #73115E #A8198A #DD21B6 #E656C8

Accessibility & contrast

On white

6.62
#A8198A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A8198A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8198A
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8198A#FFFFFF#000000##FFFFFF
##A8198A1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244F8D
Deuteranopia (green-blind)
#576487
Tritanopia (blue-blind)
#B22253
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8198a;
/* rgb */ color: rgb(168, 25, 138);
/* oklch */ color: oklch(50.4% 0.205 339.0);
Tailwind
colors: {
  custom: {
    50: '#c66bac',
    500: '#a8198a',
    950: '#000000',
  },
}
SCSS
$custom: #a8198a;
$custom-light: #c66bac;
$custom-dark: #000000;
JSON
{
  "hex": "#a8198a",
  "rgb": {
    "r": 168,
    "g": 25,
    "b": 138
  },
  "hsl": {
    "h": 312.587,
    "s": 74.093,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50442,
    "c": 0.2048,
    "h": 339
  },
  "luminance": 0.10855
}

Semantic roles & 50–950 ramp

primary
#A8198A
secondary
#54C96D
accent
#F15E37
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #A8198A

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

Preview Lab → · Contrast checker → · Palette generator →

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