#A4298E#A4298E

#A4298E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.1% C 0.191 H 336.4°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#A4298E
RGBrgb(164, 41, 142)
HSLhsl(311, 60%, 40%)
HSVhsv(311, 75%, 64%)
CMYKcmyk(0%, 75%, 13.4%, 35.7%)
CIE-LABlab(40.30, 59.53, -28.09)
CIE-LCHlch(40.30, 65.82, 334.73°)
OKLaboklab(51.06% 0.1748 -0.0766)
OKLCHoklch(51.06% 0.191 336.4)
XYZxyz(20.9856, 11.4333, 26.6876)
Luminance0.1143 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4298E #29A43F
analogous
#7D29A4 #A4298E #A42950
triadic
#A4298E #8EA429 #298EA4
tetradic
#A4298E #A47D29 #29A43F #2950A4
square
#A4298E #A47D29 #29A43F #2950A4
split-complementary
#A4298E #50A429 #29A47D
monochromatic
#421139 #731D64 #A4298E #CE3CB4 #DA6DC7

Accessibility & contrast

On white

6.39
#A4298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#A4298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4298E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4298E#FFFFFF#000000##FFFFFF
##A4298E1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5391
Deuteranopia (green-blind)
#56668B
Tritanopia (blue-blind)
#AD3259
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a4298e;
/* rgb */ color: rgb(164, 41, 142);
/* oklch */ color: oklch(51.1% 0.191 336.4);
Tailwind
colors: {
  custom: {
    50: '#c370af',
    500: '#a4298e',
    950: '#000000',
  },
}
SCSS
$custom: #a4298e;
$custom-light: #c370af;
$custom-dark: #000000;
JSON
{
  "hex": "#a4298e",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 310.732,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51063,
    "c": 0.19087,
    "h": 336.4
  },
  "luminance": 0.11431
}

Semantic roles & 50–950 ramp

primary
#A4298E
secondary
#68C178
accent
#E36145
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4298E

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

Preview Lab → · Contrast checker → · Palette generator →

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