#A8298E#A8298E

#A8298E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.7% C 0.193 H 337.7°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#A8298E
RGBrgb(168, 41, 142)
HSLhsl(312, 61%, 41%)
HSVhsv(312, 76%, 66%)
CMYKcmyk(0%, 75.6%, 15.5%, 34.1%)
CIE-LABlab(41.00, 60.48, -26.95)
CIE-LCHlch(41.00, 66.21, 335.98°)
OKLaboklab(51.7% 0.1788 -0.0732)
OKLCHoklch(51.7% 0.193 337.7)
XYZxyz(21.8243, 11.8658, 26.7269)
Luminance0.1186 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A8298E #29A843
analogous
#8229A8 #A8298E #A8294F
triadic
#A8298E #8EA829 #298EA8
tetradic
#A8298E #A88229 #29A843 #294FA8
square
#A8298E #A88229 #29A843 #294FA8
split-complementary
#A8298E #4FA829 #29A882
monochromatic
#46113B #771D64 #A8298E #D03EB2 #DC6FC6

Accessibility & contrast

On white

6.23
#A8298E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#A8298E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A8298E
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A8298E#FFFFFF#000000##FFFFFF
##A8298E1.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5491
Deuteranopia (green-blind)
#5A688B
Tritanopia (blue-blind)
#B13059
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a8298e;
/* rgb */ color: rgb(168, 41, 142);
/* oklch */ color: oklch(51.7% 0.193 337.7);
Tailwind
colors: {
  custom: {
    50: '#c670af',
    500: '#a8298e',
    950: '#000000',
  },
}
SCSS
$custom: #a8298e;
$custom-light: #c670af;
$custom-dark: #000000;
JSON
{
  "hex": "#a8298e",
  "rgb": {
    "r": 168,
    "g": 41,
    "b": 142
  },
  "hsl": {
    "h": 312.283,
    "s": 60.766,
    "l": 40.98
  },
  "oklch": {
    "l": 0.51701,
    "c": 0.19319,
    "h": 337.7
  },
  "luminance": 0.11864
}

Semantic roles & 50–950 ramp

primary
#A8298E
secondary
#6AC37C
accent
#E46544
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A8298E

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

Preview Lab → · Contrast checker → · Palette generator →

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