#AF2476#AF2476

#AF2476 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.4% C 0.188 H 350.0°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF2476
RGBrgb(175, 36, 118)
HSLhsl(325, 66%, 41%)
HSVhsv(325, 79%, 69%)
CMYKcmyk(0%, 79.4%, 32.6%, 31.4%)
CIE-LABlab(40.71, 60.58, -12.50)
CIE-LCHlch(40.71, 61.86, 348.34°)
OKLaboklab(51.39% 0.1855 -0.0326)
OKLCHoklch(51.39% 0.188 350)
XYZxyz(21.5813, 11.6863, 18.2552)
Luminance0.1168 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2476 #24AF5D
analogous
#A324AF #AF2476 #AF2431
triadic
#AF2476 #76AF24 #2476AF
tetradic
#AF2476 #AFA324 #24AF5D #2431AF
square
#AF2476 #AFA324 #24AF5D #2431AF
split-complementary
#AF2476 #31AF24 #24AFA3
monochromatic
#490F32 #7C1A54 #AF2476 #D63A96 #E16DB1

Accessibility & contrast

On white

6.29
#AF2476 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2476 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2476
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2476#FFFFFF#000000##FFFFFF
##AF24761.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5078
Deuteranopia (green-blind)
#656973
Tritanopia (blue-blind)
#BC194A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2476;
/* rgb */ color: rgb(175, 36, 118);
/* oklch */ color: oklch(51.4% 0.188 350.0);
Tailwind
colors: {
  custom: {
    50: '#cc6f9d',
    500: '#af2476',
    950: '#000000',
  },
}
SCSS
$custom: #af2476;
$custom-light: #cc6f9d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2476",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 118
  },
  "hsl": {
    "h": 324.604,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51389,
    "c": 0.18839,
    "h": 350
  },
  "luminance": 0.11684
}

Semantic roles & 50–950 ramp

primary
#AF2476
secondary
#68C78F
accent
#E9853F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2476

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

Preview Lab → · Contrast checker → · Palette generator →

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