#A4298B#A4298B

#A4298B is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.189 H 337.6°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A4298B
RGBrgb(164, 41, 139)
HSLhsl(312, 60%, 40%)
HSVhsv(312, 75%, 64%)
CMYKcmyk(0%, 75%, 15.2%, 35.7%)
CIE-LABlab(40.15, 59.09, -26.49)
CIE-LCHlch(40.15, 64.75, 335.85°)
OKLaboklab(50.91% 0.1745 -0.072)
OKLCHoklch(50.91% 0.189 337.6)
XYZxyz(20.7634, 11.3444, 25.5173)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A4298B #29A442
analogous
#7F29A4 #A4298B #A4294E
triadic
#A4298B #8BA429 #298BA4
tetradic
#A4298B #A47F29 #29A442 #294EA4
square
#A4298B #A47F29 #29A442 #294EA4
split-complementary
#A4298B #4EA429 #29A47F
monochromatic
#421138 #731D62 #A4298B #CE3CB1 #DA6DC4

Accessibility & contrast

On white

6.43
#A4298B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A4298B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A4298B
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A4298B#FFFFFF#000000##FFFFFF
##A4298B1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538E
Deuteranopia (green-blind)
#586588
Tritanopia (blue-blind)
#AD3057
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a4298b;
/* rgb */ color: rgb(164, 41, 139);
/* oklch */ color: oklch(50.9% 0.189 337.6);
Tailwind
colors: {
  custom: {
    50: '#c370ad',
    500: '#a4298b',
    950: '#000000',
  },
}
SCSS
$custom: #a4298b;
$custom-light: #c370ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a4298b",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 139
  },
  "hsl": {
    "h": 312.195,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.5091,
    "c": 0.18879,
    "h": 337.6
  },
  "luminance": 0.11342
}

Semantic roles & 50–950 ramp

primary
#A4298B
secondary
#68C17A
accent
#E36545
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A4298B

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

Preview Lab → · Contrast checker → · Palette generator →

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