#A8188D#A8188D

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

Color values

HEX#A8188D
RGBrgb(168, 24, 141)
HSLhsl(311, 75%, 38%)
HSVhsv(311, 86%, 66%)
CMYKcmyk(0%, 85.7%, 16.1%, 34.1%)
CIE-LABlab(39.42, 64.76, -28.82)
CIE-LCHlch(39.42, 70.88, 336.01°)
OKLaboklab(50.55% 0.192 -0.0784)
OKLCHoklch(50.55% 0.207 337.8)
XYZxyz(21.2833, 10.9033, 26.1778)
Luminance0.1090 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8188D #18A833
analogous
#7B18A8 #A8188D #A81845
triadic
#A8188D #8DA818 #188DA8
tetradic
#A8188D #A87B18 #18A833 #1845A8
square
#A8188D #A87B18 #18A833 #1845A8
split-complementary
#A8188D #45A818 #18A87B
monochromatic
#3D0933 #721060 #A8188D #DE20BA #E754CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8188D#FFFFFF#000000##FFFFFF
##A8188D1.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)
#204F90
Deuteranopia (green-blind)
#55648A
Tritanopia (blue-blind)
#B22354
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8188d;
/* rgb */ color: rgb(168, 24, 141);
/* oklch */ color: oklch(50.5% 0.207 337.8);
Tailwind
colors: {
  custom: {
    50: '#c66bae',
    500: '#a8188d',
    950: '#000000',
  },
}
SCSS
$custom: #a8188d;
$custom-light: #c66bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8188d",
  "rgb": {
    "r": 168,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 311.25,
    "s": 75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50547,
    "c": 0.2074,
    "h": 337.8
  },
  "luminance": 0.10901
}

Semantic roles & 50–950 ramp

primary
#A8188D
secondary
#53C969
accent
#F25936
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #A8188D

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

Preview Lab → · Contrast checker → · Palette generator →

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