#AF2480#AF2480

#AF2480 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.194 H 345.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF2480
RGBrgb(175, 36, 128)
HSLhsl(320, 66%, 41%)
HSVhsv(320, 79%, 69%)
CMYKcmyk(0%, 79.4%, 26.9%, 31.4%)
CIE-LABlab(41.12, 61.77, -18.08)
CIE-LCHlch(41.12, 64.36, 343.68°)
OKLaboklab(51.81% 0.1877 -0.048)
OKLCHoklch(51.81% 0.194 345.6)
XYZxyz(22.2074, 11.9367, 21.5524)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2480 #24AF53
analogous
#9924AF #AF2480 #AF243A
triadic
#AF2480 #80AF24 #2480AF
tetradic
#AF2480 #AF9924 #24AF53 #243AAF
square
#AF2480 #AF9924 #24AF53 #243AAF
split-complementary
#AF2480 #3AAF24 #24AF99
monochromatic
#490F36 #7C1A5B #AF2480 #D63AA1 #E16DBA

Accessibility & contrast

On white

6.20
#AF2480 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2480 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2480
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2480#FFFFFF#000000##FFFFFF
##AF24801.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385282
Deuteranopia (green-blind)
#62697D
Tritanopia (blue-blind)
#BB2050
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2480;
/* rgb */ color: rgb(175, 36, 128);
/* oklch */ color: oklch(51.8% 0.194 345.6);
Tailwind
colors: {
  custom: {
    50: '#cb6fa5',
    500: '#af2480',
    950: '#000000',
  },
}
SCSS
$custom: #af2480;
$custom-light: #cb6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2480",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 128
  },
  "hsl": {
    "h": 320.288,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51812,
    "c": 0.19375,
    "h": 345.6
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#AF2480
secondary
#68C788
accent
#E9783F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2480

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

Preview Lab → · Contrast checker → · Palette generator →

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