#A8198D#A8198D

#A8198D is a mid, highly saturated pink. Relative luminance 0.109; OKLCH L 50.6% C 0.207 H 337.8°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A8198D
RGBrgb(168, 25, 141)
HSLhsl(311, 74%, 38%)
HSVhsv(311, 85%, 66%)
CMYKcmyk(0%, 85.1%, 16.1%, 34.1%)
CIE-LABlab(39.49, 64.55, -28.70)
CIE-LCHlch(39.49, 70.65, 336.03°)
OKLaboklab(50.6% 0.1914 -0.0781)
OKLCHoklch(50.6% 0.207 337.8)
XYZxyz(21.3043, 10.9453, 26.1848)
Luminance0.1094 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8198D #19A834
analogous
#7C19A8 #A8198D #A81945
triadic
#A8198D #8DA819 #198DA8
tetradic
#A8198D #A87C19 #19A834 #1945A8
square
#A8198D #A87C19 #19A834 #1945A8
split-complementary
#A8198D #45A819 #19A87C
monochromatic
#3D0934 #731160 #A8198D #DD21BA #E656CB

Accessibility & contrast

On white

6.59
#A8198D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A8198D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8198D
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8198D#FFFFFF#000000##FFFFFF
##A8198D1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#214F90
Deuteranopia (green-blind)
#55658A
Tritanopia (blue-blind)
#B22454
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8198d;
/* rgb */ color: rgb(168, 25, 141);
/* oklch */ color: oklch(50.6% 0.207 337.8);
Tailwind
colors: {
  custom: {
    50: '#c66bae',
    500: '#a8198d',
    950: '#000000',
  },
}
SCSS
$custom: #a8198d;
$custom-light: #c66bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8198d",
  "rgb": {
    "r": 168,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 311.329,
    "s": 74.093,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50598,
    "c": 0.20671,
    "h": 337.8
  },
  "luminance": 0.10943
}

Semantic roles & 50–950 ramp

primary
#A8198D
secondary
#54C96A
accent
#F15A37
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #A8198D

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

Preview Lab → · Contrast checker → · Palette generator →

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