#A7198D#A7198D

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

Color values

HEX#A7198D
RGBrgb(167, 25, 141)
HSLhsl(311, 74%, 38%)
HSVhsv(311, 85%, 65%)
CMYKcmyk(0%, 85%, 15.6%, 34.5%)
CIE-LABlab(39.30, 64.34, -29.01)
CIE-LCHlch(39.30, 70.58, 335.73°)
OKLaboklab(50.43% 0.1905 -0.079)
OKLCHoklch(50.43% 0.206 337.5)
XYZxyz(21.0922, 10.8359, 26.1749)
Luminance0.1083 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A7198D #19A733
analogous
#7A19A7 #A7198D #A71946
triadic
#A7198D #8DA719 #198DA7
tetradic
#A7198D #A77A19 #19A733 #1946A7
square
#A7198D #A77A19 #19A733 #1946A7
split-complementary
#A7198D #46A719 #19A77A
monochromatic
#3D0933 #721160 #A7198D #DC21BA #E655CB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A7198D#FFFFFF#000000##FFFFFF
##A7198D1.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)
#204F90
Deuteranopia (green-blind)
#54648A
Tritanopia (blue-blind)
#B02454
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a7198d;
/* rgb */ color: rgb(167, 25, 141);
/* oklch */ color: oklch(50.4% 0.206 337.5);
Tailwind
colors: {
  custom: {
    50: '#c56bae',
    500: '#a7198d',
    950: '#000000',
  },
}
SCSS
$custom: #a7198d;
$custom-light: #c56bae;
$custom-dark: #000000;
JSON
{
  "hex": "#a7198d",
  "rgb": {
    "r": 167,
    "g": 25,
    "b": 141
  },
  "hsl": {
    "h": 310.986,
    "s": 73.958,
    "l": 37.647
  },
  "oklch": {
    "l": 0.50431,
    "c": 0.2062,
    "h": 337.5
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#A7198D
secondary
#53C869
accent
#F15937
background
#FCF6FA
surface
#F9ECF4
border
#D2C7CE
text
#130810
muted
#827A7F

Preview Lab

Preview with #A7198D

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

Preview Lab → · Contrast checker → · Palette generator →

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