#AF2479#AF2479

#AF2479 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.190 H 348.7°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AF2479
RGBrgb(175, 36, 121)
HSLhsl(323, 66%, 41%)
HSVhsv(323, 79%, 69%)
CMYKcmyk(0%, 79.4%, 30.9%, 31.4%)
CIE-LABlab(40.83, 60.93, -14.19)
CIE-LCHlch(40.83, 62.56, 346.89°)
OKLaboklab(51.51% 0.1862 -0.0372)
OKLCHoklch(51.51% 0.19 348.7)
XYZxyz(21.7624, 11.7588, 19.2091)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2479 #24AF5A
analogous
#A024AF #AF2479 #AF2434
triadic
#AF2479 #79AF24 #2479AF
tetradic
#AF2479 #AFA024 #24AF5A #2434AF
square
#AF2479 #AFA024 #24AF5A #2434AF
split-complementary
#AF2479 #34AF24 #24AFA0
monochromatic
#490F33 #7C1A56 #AF2479 #D63A9A #E16DB4

Accessibility & contrast

On white

6.27
#AF2479 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF2479 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2479
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2479#FFFFFF#000000##FFFFFF
##AF24791.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517B
Deuteranopia (green-blind)
#656976
Tritanopia (blue-blind)
#BC1B4C
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2479;
/* rgb */ color: rgb(175, 36, 121);
/* oklch */ color: oklch(51.5% 0.190 348.7);
Tailwind
colors: {
  custom: {
    50: '#cc6f9f',
    500: '#af2479',
    950: '#000000',
  },
}
SCSS
$custom: #af2479;
$custom-light: #cc6f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2479",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 121
  },
  "hsl": {
    "h": 323.309,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51512,
    "c": 0.18993,
    "h": 348.7
  },
  "luminance": 0.11756
}

Semantic roles & 50–950 ramp

primary
#AF2479
secondary
#68C78D
accent
#E9813F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2479

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

Preview Lab → · Contrast checker → · Palette generator →

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