#AF2474#AF2474

#AF2474 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.187 H 350.9°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#AF2474
RGBrgb(175, 36, 116)
HSLhsl(325, 66%, 41%)
HSVhsv(325, 79%, 69%)
CMYKcmyk(0%, 79.4%, 33.7%, 31.4%)
CIE-LABlab(40.64, 60.35, -11.37)
CIE-LCHlch(40.64, 61.42, 349.33°)
OKLaboklab(51.31% 0.1851 -0.0295)
OKLCHoklch(51.31% 0.187 350.9)
XYZxyz(21.4637, 11.6393, 17.6359)
Luminance0.1164 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2474 #24AF5F
analogous
#A524AF #AF2474 #AF242E
triadic
#AF2474 #74AF24 #2474AF
tetradic
#AF2474 #AFA524 #24AF5F #242EAF
square
#AF2474 #AFA524 #24AF5F #242EAF
split-complementary
#AF2474 #2EAF24 #24AFA5
monochromatic
#490F31 #7C1A52 #AF2474 #D63A94 #E16DAF

Accessibility & contrast

On white

6.31
#AF2474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2474 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2474
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2474#FFFFFF#000000##FFFFFF
##AF24741.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5076
Deuteranopia (green-blind)
#666971
Tritanopia (blue-blind)
#BC1749
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2474;
/* rgb */ color: rgb(175, 36, 116);
/* oklch */ color: oklch(51.3% 0.187 350.9);
Tailwind
colors: {
  custom: {
    50: '#cc6e9c',
    500: '#af2474',
    950: '#000000',
  },
}
SCSS
$custom: #af2474;
$custom-light: #cc6e9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2474",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 116
  },
  "hsl": {
    "h": 325.468,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51308,
    "c": 0.18739,
    "h": 350.9
  },
  "luminance": 0.11637
}

Semantic roles & 50–950 ramp

primary
#AF2474
secondary
#68C790
accent
#E9873F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2474

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

Preview Lab → · Contrast checker → · Palette generator →

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