#A8188B#A8188B

#A8188B is a mid, highly saturated pink. Relative luminance 0.108; OKLCH L 50.4% C 0.206 H 338.5°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A8188B
RGBrgb(168, 24, 139)
HSLhsl(312, 75%, 38%)
HSVhsv(312, 86%, 66%)
CMYKcmyk(0%, 85.7%, 17.3%, 34.1%)
CIE-LABlab(39.32, 64.49, -27.75)
CIE-LCHlch(39.32, 70.20, 336.72°)
OKLaboklab(50.44% 0.1919 -0.0754)
OKLCHoklch(50.44% 0.206 338.5)
XYZxyz(21.1359, 10.8443, 25.4012)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8188B #18A835
analogous
#7D18A8 #A8188B #A81843
triadic
#A8188B #8BA818 #188BA8
tetradic
#A8188B #A87D18 #18A835 #1843A8
square
#A8188B #A87D18 #18A835 #1843A8
split-complementary
#A8188B #43A818 #18A87D
monochromatic
#3D0932 #72105F #A8188B #DE20B7 #E754C9

Accessibility & contrast

On white

6.63
#A8188B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A8188B
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8188B#FFFFFF#000000##FFFFFF
##A8188B1.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#224F8E
Deuteranopia (green-blind)
#566488
Tritanopia (blue-blind)
#B22253
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a8188b;
/* rgb */ color: rgb(168, 24, 139);
/* oklch */ color: oklch(50.4% 0.206 338.5);
Tailwind
colors: {
  custom: {
    50: '#c66aad',
    500: '#a8188b',
    950: '#000000',
  },
}
SCSS
$custom: #a8188b;
$custom-light: #c66aad;
$custom-dark: #000000;
JSON
{
  "hex": "#a8188b",
  "rgb": {
    "r": 168,
    "g": 24,
    "b": 139
  },
  "hsl": {
    "h": 312.083,
    "s": 75,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.20613,
    "h": 338.5
  },
  "luminance": 0.10842
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A8188B

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

Preview Lab → · Contrast checker → · Palette generator →

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