#AF2477#AF2477

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

Color values

HEX#AF2477
RGBrgb(175, 36, 119)
HSLhsl(324, 66%, 41%)
HSVhsv(324, 79%, 69%)
CMYKcmyk(0%, 79.4%, 32%, 31.4%)
CIE-LABlab(40.75, 60.70, -13.06)
CIE-LCHlch(40.75, 62.09, 347.85°)
OKLaboklab(51.43% 0.1858 -0.0342)
OKLCHoklch(51.43% 0.189 349.6)
XYZxyz(21.6411, 11.7102, 18.5698)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2477 #24AF5C
analogous
#A224AF #AF2477 #AF2431
triadic
#AF2477 #77AF24 #2477AF
tetradic
#AF2477 #AFA224 #24AF5C #2431AF
square
#AF2477 #AFA224 #24AF5C #2431AF
split-complementary
#AF2477 #31AF24 #24AFA2
monochromatic
#490F32 #7C1A54 #AF2477 #D63A97 #E16DB2

Accessibility & contrast

On white

6.28
#AF2477 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2477
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2477#FFFFFF#000000##FFFFFF
##AF24771.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5179
Deuteranopia (green-blind)
#656974
Tritanopia (blue-blind)
#BC1A4B
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2477;
/* rgb */ color: rgb(175, 36, 119);
/* oklch */ color: oklch(51.4% 0.189 349.6);
Tailwind
colors: {
  custom: {
    50: '#cc6f9e',
    500: '#af2477',
    950: '#000000',
  },
}
SCSS
$custom: #af2477;
$custom-light: #cc6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2477",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 119
  },
  "hsl": {
    "h": 324.173,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51429,
    "c": 0.1889,
    "h": 349.6
  },
  "luminance": 0.11708
}

Semantic roles & 50–950 ramp

primary
#AF2477
secondary
#68C78E
accent
#E9833F
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2477

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

Preview Lab → · Contrast checker → · Palette generator →

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