#AF2980#AF2980

#AF2980 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.2% C 0.189 H 345.9°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AF2980
RGBrgb(175, 41, 128)
HSLhsl(321, 62%, 42%)
HSVhsv(321, 77%, 69%)
CMYKcmyk(0%, 76.6%, 26.9%, 31.4%)
CIE-LABlab(41.63, 60.31, -17.30)
CIE-LCHlch(41.63, 62.74, 344.00°)
OKLaboklab(52.18% 0.1832 -0.0459)
OKLCHoklch(52.18% 0.189 345.9)
XYZxyz(22.3694, 12.2608, 21.6064)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2980 #29AF58
analogous
#9B29AF #AF2980 #AF293D
triadic
#AF2980 #80AF29 #2980AF
tetradic
#AF2980 #AF9B29 #29AF58 #293DAF
square
#AF2980 #AF9B29 #29AF58 #293DAF
split-complementary
#AF2980 #3DAF29 #29AF9B
monochromatic
#4C1237 #7D1D5C #AF2980 #D342A0 #DE74B9

Accessibility & contrast

On white

6.08
#AF2980 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF2980 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2980
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2980#FFFFFF#000000##FFFFFF
##AF29801.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2980;
/* rgb */ color: rgb(175, 41, 128);
/* oklch */ color: oklch(52.2% 0.189 345.9);
Tailwind
colors: {
  custom: {
    50: '#cb71a5',
    500: '#af2980',
    950: '#000000',
  },
}
SCSS
$custom: #af2980;
$custom-light: #cb71a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2980",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 128
  },
  "hsl": {
    "h": 321.045,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52183,
    "c": 0.18882,
    "h": 345.9
  },
  "luminance": 0.12258
}

Semantic roles & 50–950 ramp

primary
#AF2980
secondary
#6EC68D
accent
#E57C43
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2980

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

Preview Lab → · Contrast checker → · Palette generator →

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