#A8198C#A8198C

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

Color values

HEX#A8198C
RGBrgb(168, 25, 140)
HSLhsl(312, 74%, 38%)
HSVhsv(312, 85%, 66%)
CMYKcmyk(0%, 85.1%, 16.7%, 34.1%)
CIE-LABlab(39.44, 64.41, -28.17)
CIE-LCHlch(39.44, 70.31, 336.38°)
OKLaboklab(50.54% 0.1913 -0.0766)
OKLCHoklch(50.54% 0.206 338.2)
XYZxyz(21.2303, 10.9157, 25.7947)
Luminance0.1091 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8198C #19A835
analogous
#7C19A8 #A8198C #A81945
triadic
#A8198C #8CA819 #198CA8
tetradic
#A8198C #A87C19 #19A835 #1945A8
square
#A8198C #A87C19 #19A835 #1945A8
split-complementary
#A8198C #45A819 #19A87C
monochromatic
#3D0933 #731160 #A8198C #DD21B8 #E656CA

Accessibility & contrast

On white

6.60
#A8198C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8198C
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8198C#FFFFFF#000000##FFFFFF
##A8198C1.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8F
Deuteranopia (green-blind)
#566489
Tritanopia (blue-blind)
#B22354
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8198c;
/* rgb */ color: rgb(168, 25, 140);
/* oklch */ color: oklch(50.5% 0.206 338.2);
Tailwind
colors: {
  custom: {
    50: '#c66bae',
    500: '#a8198c',
    950: '#000000',
  },
}
SCSS
$custom: #a8198c;
$custom-light: #c66bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8198c",
  "rgb": {
    "r": 168,
    "g": 25,
    "b": 140
  },
  "hsl": {
    "h": 311.748,
    "s": 74.093,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50545,
    "c": 0.20607,
    "h": 338.2
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#A8198C
secondary
#54C96B
accent
#F15B37
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #A8198C

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

Preview Lab → · Contrast checker → · Palette generator →

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