#AF2880#AF2880

#AF2880 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.190 H 345.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AF2880
RGBrgb(175, 40, 128)
HSLhsl(321, 63%, 42%)
HSVhsv(321, 77%, 69%)
CMYKcmyk(0%, 77.1%, 26.9%, 31.4%)
CIE-LABlab(41.52, 60.61, -17.46)
CIE-LCHlch(41.52, 63.08, 343.93°)
OKLaboklab(52.11% 0.1841 -0.0463)
OKLCHoklch(52.11% 0.19 345.9)
XYZxyz(22.3353, 12.1925, 21.5951)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2880 #28AF57
analogous
#9B28AF #AF2880 #AF283C
triadic
#AF2880 #80AF28 #2880AF
tetradic
#AF2880 #AF9B28 #28AF57 #283CAF
square
#AF2880 #AF9B28 #28AF57 #283CAF
split-complementary
#AF2880 #3CAF28 #28AF9B
monochromatic
#4B1137 #7D1D5C #AF2880 #D441A0 #DF73B9

Accessibility & contrast

On white

6.11
#AF2880 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF2880 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2880
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2880#FFFFFF#000000##FFFFFF
##AF28801.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5382
Deuteranopia (green-blind)
#646A7D
Tritanopia (blue-blind)
#BB2451
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2880;
/* rgb */ color: rgb(175, 40, 128);
/* oklch */ color: oklch(52.1% 0.190 345.9);
Tailwind
colors: {
  custom: {
    50: '#cb70a5',
    500: '#af2880',
    950: '#000000',
  },
}
SCSS
$custom: #af2880;
$custom-light: #cb70a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2880",
  "rgb": {
    "r": 175,
    "g": 40,
    "b": 128
  },
  "hsl": {
    "h": 320.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.52106,
    "c": 0.18985,
    "h": 345.9
  },
  "luminance": 0.1219
}

Semantic roles & 50–950 ramp

primary
#AF2880
secondary
#6DC68C
accent
#E67B42
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2880

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

Preview Lab → · Contrast checker → · Palette generator →

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