#A8188C#A8188C

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

Color values

HEX#A8188C
RGBrgb(168, 24, 140)
HSLhsl(312, 75%, 38%)
HSVhsv(312, 86%, 66%)
CMYKcmyk(0%, 85.7%, 16.7%, 34.1%)
CIE-LABlab(39.37, 64.62, -28.28)
CIE-LCHlch(39.37, 70.54, 336.36°)
OKLaboklab(50.5% 0.1919 -0.0769)
OKLCHoklch(50.5% 0.207 338.2)
XYZxyz(21.2093, 10.8737, 25.7877)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8188C #18A834
analogous
#7C18A8 #A8188C #A81844
triadic
#A8188C #8CA818 #188CA8
tetradic
#A8188C #A87C18 #18A834 #1844A8
square
#A8188C #A87C18 #18A834 #1844A8
split-complementary
#A8188C #44A818 #18A87C
monochromatic
#3D0933 #72105F #A8188C #DE20B9 #E754CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8188C#FFFFFF#000000##FFFFFF
##A8188C1.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)
#214F8F
Deuteranopia (green-blind)
#556489
Tritanopia (blue-blind)
#B22354
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8188c;
/* rgb */ color: rgb(168, 24, 140);
/* oklch */ color: oklch(50.5% 0.207 338.2);
Tailwind
colors: {
  custom: {
    50: '#c66bae',
    500: '#a8188c',
    950: '#000000',
  },
}
SCSS
$custom: #a8188c;
$custom-light: #c66bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a8188c",
  "rgb": {
    "r": 168,
    "g": 24,
    "b": 140
  },
  "hsl": {
    "h": 311.667,
    "s": 75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50495,
    "c": 0.20677,
    "h": 338.2
  },
  "luminance": 0.10872
}

Semantic roles & 50–950 ramp

primary
#A8188C
secondary
#53C96A
accent
#F25B36
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #A8188C

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

Preview Lab → · Contrast checker → · Palette generator →

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