#AF2884#AF2884

#AF2884 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.3% C 0.192 H 344.1°. Best body text is #FFFFFF at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#AF2884
RGBrgb(175, 40, 132)
HSLhsl(319, 63%, 42%)
HSVhsv(319, 77%, 69%)
CMYKcmyk(0%, 77.1%, 24.6%, 31.4%)
CIE-LABlab(41.69, 61.12, -19.66)
CIE-LCHlch(41.69, 64.20, 342.17°)
OKLaboklab(52.28% 0.1849 -0.0525)
OKLCHoklch(52.28% 0.192 344.1)
XYZxyz(22.6038, 12.2999, 23.0091)
Luminance0.1230 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2884 #28AF53
analogous
#9728AF #AF2884 #AF2841
triadic
#AF2884 #84AF28 #2884AF
tetradic
#AF2884 #AF9728 #28AF53 #2841AF
square
#AF2884 #AF9728 #28AF53 #2841AF
split-complementary
#AF2884 #41AF28 #28AF97
monochromatic
#4B1139 #7D1D5E #AF2884 #D441A5 #DF73BC

Accessibility & contrast

On white

6.07
#AF2884 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#AF2884 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2884
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2884#FFFFFF#000000##FFFFFF
##AF28841.006.073.466.07
#FFFFFF6.071.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395486
Deuteranopia (green-blind)
#626A81
Tritanopia (blue-blind)
#BB2753
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2884;
/* rgb */ color: rgb(175, 40, 132);
/* oklch */ color: oklch(52.3% 0.192 344.1);
Tailwind
colors: {
  custom: {
    50: '#cb70a8',
    500: '#af2884',
    950: '#000000',
  },
}
SCSS
$custom: #af2884;
$custom-light: #cb70a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2884",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 132
  },
  "hsl": {
    "h": 319.111,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52283,
    "c": 0.19218,
    "h": 344.1
  },
  "luminance": 0.12297
}

Semantic roles & 50–950 ramp

primary
#AF2884
secondary
#6DC689
accent
#E67642
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2884

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

Preview Lab → · Contrast checker → · Palette generator →

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