#AD2998#AD2998

#AD2998 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.203 H 335.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AD2998
RGBrgb(173, 41, 152)
HSLhsl(310, 62%, 42%)
HSVhsv(310, 76%, 68%)
CMYKcmyk(0%, 76.3%, 12.1%, 32.2%)
CIE-LABlab(42.37, 63.10, -30.81)
CIE-LCHlch(42.37, 70.22, 333.97°)
OKLaboklab(53.01% 0.1846 -0.0842)
OKLCHoklch(53.01% 0.203 335.5)
XYZxyz(23.6944, 12.7393, 30.9107)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2998 #29AD3E
analogous
#8029AD #AD2998 #AD2956
triadic
#AD2998 #98AD29 #2998AD
tetradic
#AD2998 #AD8029 #29AD3E #2956AD
square
#AD2998 #AD8029 #29AD3E #2956AD
split-complementary
#AD2998 #56AD29 #29AD80
monochromatic
#4A1241 #7C1D6D #AD2998 #D241BB #DE73CD

Accessibility & contrast

On white

5.92
#AD2998 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AD2998 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2998
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2998#FFFFFF#000000##FFFFFF
##AD29981.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#29579B
Deuteranopia (green-blind)
#596B95
Tritanopia (blue-blind)
#B6345E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ad2998;
/* rgb */ color: rgb(173, 41, 152);
/* oklch */ color: oklch(53.0% 0.203 335.5);
Tailwind
colors: {
  custom: {
    50: '#c971b6',
    500: '#ad2998',
    950: '#000000',
  },
}
SCSS
$custom: #ad2998;
$custom-light: #c971b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2998",
  "rgb": {
    "r": 173,
    "g": 41,
    "b": 152
  },
  "hsl": {
    "h": 309.545,
    "s": 61.682,
    "l": 41.961
  },
  "oklch": {
    "l": 0.53009,
    "c": 0.20291,
    "h": 335.5
  },
  "luminance": 0.12737
}

Semantic roles & 50–950 ramp

primary
#AD2998
secondary
#6DC57B
accent
#E55D43
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AD2998

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

Preview Lab → · Contrast checker → · Palette generator →

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