#A8198F#A8198F

#A8198F is a mid, highly saturated pink. Relative luminance 0.110; OKLCH L 50.7% C 0.208 H 337.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#A8198F
RGBrgb(168, 25, 143)
HSLhsl(310, 74%, 38%)
HSVhsv(310, 85%, 66%)
CMYKcmyk(0%, 85.1%, 14.9%, 34.1%)
CIE-LABlab(39.59, 64.83, -29.77)
CIE-LCHlch(39.59, 71.33, 335.34°)
OKLaboklab(50.7% 0.1915 -0.0812)
OKLCHoklch(50.7% 0.208 337)
XYZxyz(21.4545, 11.0054, 26.9756)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8198F #19A832
analogous
#7A19A8 #A8198F #A81947
triadic
#A8198F #8FA819 #198FA8
tetradic
#A8198F #A87A19 #19A832 #1947A8
square
#A8198F #A87A19 #19A832 #1947A8
split-complementary
#A8198F #47A819 #19A87A
monochromatic
#3D0934 #731162 #A8198F #DD21BC #E656CD

Accessibility & contrast

On white

6.56
#A8198F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A8198F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8198F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8198F#FFFFFF#000000##FFFFFF
##A8198F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F5092
Deuteranopia (green-blind)
#54658C
Tritanopia (blue-blind)
#B12556
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8198f;
/* rgb */ color: rgb(168, 25, 143);
/* oklch */ color: oklch(50.7% 0.208 337.0);
Tailwind
colors: {
  custom: {
    50: '#c66bb0',
    500: '#a8198f',
    950: '#000000',
  },
}
SCSS
$custom: #a8198f;
$custom-light: #c66bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#a8198f",
  "rgb": {
    "r": 168,
    "g": 25,
    "b": 143
  },
  "hsl": {
    "h": 310.49,
    "s": 74.093,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50703,
    "c": 0.20801,
    "h": 337
  },
  "luminance": 0.11003
}

Semantic roles & 50–950 ramp

primary
#A8198F
secondary
#54C968
accent
#F15837
background
#FCF6FA
surface
#F9ECF5
border
#D2C7CF
text
#140810
muted
#827A7F

Preview Lab

Preview with #A8198F

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

Preview Lab → · Contrast checker → · Palette generator →

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