#AD2895#AD2895

#AD2895 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.8% C 0.202 H 336.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AD2895
RGBrgb(173, 40, 149)
HSLhsl(311, 62%, 42%)
HSVhsv(311, 77%, 68%)
CMYKcmyk(0%, 76.9%, 13.9%, 32.2%)
CIE-LABlab(42.11, 62.96, -29.40)
CIE-LCHlch(42.11, 69.48, 334.97°)
OKLaboklab(52.78% 0.1853 -0.0801)
OKLCHoklch(52.78% 0.202 336.6)
XYZxyz(23.4176, 12.5739, 29.6216)
Luminance0.1257 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD2895 #28AD40
analogous
#8328AD #AD2895 #AD2853
triadic
#AD2895 #95AD28 #2895AD
tetradic
#AD2895 #AD8328 #28AD40 #2853AD
square
#AD2895 #AD8328 #28AD40 #2853AD
split-complementary
#AD2895 #53AD28 #28AD83
monochromatic
#4A113F #7B1D6A #AD2895 #D33FB8 #DE71CB

Accessibility & contrast

On white

5.98
#AD2895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AD2895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD2895
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD2895#FFFFFF#000000##FFFFFF
##AD28951.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5798
Deuteranopia (green-blind)
#5A6A92
Tritanopia (blue-blind)
#B6325C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ad2895;
/* rgb */ color: rgb(173, 40, 149);
/* oklch */ color: oklch(52.8% 0.202 336.6);
Tailwind
colors: {
  custom: {
    50: '#c971b4',
    500: '#ad2895',
    950: '#000000',
  },
}
SCSS
$custom: #ad2895;
$custom-light: #c971b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ad2895",
  "rgb": {
    "r": 173,
    "g": 40,
    "b": 149
  },
  "hsl": {
    "h": 310.827,
    "s": 62.441,
    "l": 41.765
  },
  "oklch": {
    "l": 0.52778,
    "c": 0.20185,
    "h": 336.6
  },
  "luminance": 0.12572
}

Semantic roles & 50–950 ramp

primary
#AD2895
secondary
#6CC57C
accent
#E66042
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AD2895

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

Preview Lab → · Contrast checker → · Palette generator →

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