#A4298F#A4298F

#A4298F is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.1% C 0.192 H 335.9°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#A4298F
RGBrgb(164, 41, 143)
HSLhsl(310, 60%, 40%)
HSVhsv(310, 75%, 64%)
CMYKcmyk(0%, 75%, 12.8%, 35.7%)
CIE-LABlab(40.35, 59.67, -28.63)
CIE-LCHlch(40.35, 66.18, 334.37°)
OKLaboklab(51.12% 0.1749 -0.0781)
OKLCHoklch(51.12% 0.192 335.9)
XYZxyz(21.0610, 11.4635, 27.0847)
Luminance0.1146 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4298F #29A43E
analogous
#7B29A4 #A4298F #A42951
triadic
#A4298F #8FA429 #298FA4
tetradic
#A4298F #A47B29 #29A43E #2951A4
square
#A4298F #A47B29 #29A43E #2951A4
split-complementary
#A4298F #51A429 #29A47B
monochromatic
#42113A #731D64 #A4298F #CE3CB5 #DA6DC8

Accessibility & contrast

On white

6.38
#A4298F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A4298F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4298F#FFFFFF#000000##FFFFFF
##A4298F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a4298f;
/* rgb */ color: rgb(164, 41, 143);
/* oklch */ color: oklch(51.1% 0.192 335.9);
Tailwind
colors: {
  custom: {
    50: '#c370b0',
    500: '#a4298f',
    950: '#000000',
  },
}
SCSS
$custom: #a4298f;
$custom-light: #c370b0;
$custom-dark: #000000;
JSON
{
  "hex": "#a4298f",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 143
  },
  "hsl": {
    "h": 310.244,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51115,
    "c": 0.19157,
    "h": 335.9
  },
  "luminance": 0.11462
}

Semantic roles & 50–950 ramp

primary
#A4298F
secondary
#68C177
accent
#E36045
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4298F

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

Preview Lab → · Contrast checker → · Palette generator →

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