#AF2885#AF2885

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

Color values

HEX#AF2885
RGBrgb(175, 40, 133)
HSLhsl(319, 63%, 42%)
HSVhsv(319, 77%, 69%)
CMYKcmyk(0%, 77.1%, 24%, 31.4%)
CIE-LABlab(41.73, 61.25, -20.21)
CIE-LCHlch(41.73, 64.50, 341.74°)
OKLaboklab(52.33% 0.1851 -0.054)
OKLCHoklch(52.33% 0.193 343.7)
XYZxyz(22.6725, 12.3274, 23.3712)
Luminance0.1232 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2885 #28AF52
analogous
#9628AF #AF2885 #AF2841
triadic
#AF2885 #85AF28 #2885AF
tetradic
#AF2885 #AF9628 #28AF52 #2841AF
square
#AF2885 #AF9628 #28AF52 #2841AF
split-complementary
#AF2885 #41AF28 #28AF96
monochromatic
#4B1139 #7D1D5F #AF2885 #D441A6 #DF73BD

Accessibility & contrast

On white

6.06
#AF2885 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AF2885 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2885
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2885#FFFFFF#000000##FFFFFF
##AF28851.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385487
Deuteranopia (green-blind)
#626A82
Tritanopia (blue-blind)
#BB2854
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2885;
/* rgb */ color: rgb(175, 40, 133);
/* oklch */ color: oklch(52.3% 0.193 343.7);
Tailwind
colors: {
  custom: {
    50: '#cb71a8',
    500: '#af2885',
    950: '#000000',
  },
}
SCSS
$custom: #af2885;
$custom-light: #cb71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2885",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 133
  },
  "hsl": {
    "h": 318.667,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52328,
    "c": 0.19277,
    "h": 343.7
  },
  "luminance": 0.12325
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2885

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

Preview Lab → · Contrast checker → · Palette generator →

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