#A8188E#A8188E

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

Color values

HEX#A8188E
RGBrgb(168, 24, 142)
HSLhsl(311, 75%, 38%)
HSVhsv(311, 86%, 66%)
CMYKcmyk(0%, 85.7%, 15.5%, 34.1%)
CIE-LABlab(39.47, 64.89, -29.35)
CIE-LCHlch(39.47, 71.22, 335.67°)
OKLaboklab(50.6% 0.1921 -0.08)
OKLCHoklch(50.6% 0.208 337.4)
XYZxyz(21.3581, 10.9332, 26.5714)
Luminance0.1093 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8188E #18A832
analogous
#7A18A8 #A8188E #A81846
triadic
#A8188E #8EA818 #188EA8
tetradic
#A8188E #A87A18 #18A832 #1846A8
square
#A8188E #A87A18 #18A832 #1846A8
split-complementary
#A8188E #46A818 #18A87A
monochromatic
#3D0933 #721061 #A8188E #DE20BB #E754CC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A8188E#FFFFFF#000000##FFFFFF
##A8188E1.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)
#1F4F91
Deuteranopia (green-blind)
#55648B
Tritanopia (blue-blind)
#B22455
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8188e;
/* rgb */ color: rgb(168, 24, 142);
/* oklch */ color: oklch(50.6% 0.208 337.4);
Tailwind
colors: {
  custom: {
    50: '#c66baf',
    500: '#a8188e',
    950: '#000000',
  },
}
SCSS
$custom: #a8188e;
$custom-light: #c66baf;
$custom-dark: #000000;
JSON
{
  "hex": "#a8188e",
  "rgb": {
    "r": 168,
    "g": 24,
    "b": 142
  },
  "hsl": {
    "h": 310.833,
    "s": 75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50599,
    "c": 0.20805,
    "h": 337.4
  },
  "luminance": 0.10931
}

Semantic roles & 50–950 ramp

primary
#A8188E
secondary
#53C968
accent
#F25836
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#140810
muted
#827A7F

Preview Lab

Preview with #A8188E

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

Preview Lab → · Contrast checker → · Palette generator →

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