#AF2454#AF2454

#AF2454 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.176 H 6.2°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AF2454
RGBrgb(175, 36, 84)
HSLhsl(339, 66%, 41%)
HSVhsv(339, 79%, 69%)
CMYKcmyk(0%, 79.4%, 52%, 31.4%)
CIE-LABlab(39.61, 57.25, 7.29)
CIE-LCHlch(39.61, 57.72, 7.25°)
OKLaboklab(50.22% 0.1749 0.019)
OKLCHoklch(50.22% 0.176 6.2)
XYZxyz(19.9121, 11.0186, 9.4641)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2454 #24AF7F
analogous
#AF249A #AF2454 #AF3A24
triadic
#AF2454 #54AF24 #2454AF
tetradic
#AF2454 #9AAF24 #24AF7F #3A24AF
square
#AF2454 #9AAF24 #24AF7F #3A24AF
split-complementary
#AF2454 #24AF3A #249AAF
monochromatic
#490F23 #7C1A3C #AF2454 #D63A70 #E16D95

Accessibility & contrast

On white

6.56
#AF2454 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AF2454 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2454
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2454#FFFFFF#000000##FFFFFF
##AF24541.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484C55
Deuteranopia (green-blind)
#6D6751
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #af2454;
/* rgb */ color: rgb(175, 36, 84);
/* oklch */ color: oklch(50.2% 0.176 6.2);
Tailwind
colors: {
  custom: {
    50: '#cd6d83',
    500: '#af2454',
    950: '#000000',
  },
}
SCSS
$custom: #af2454;
$custom-light: #cd6d83;
$custom-dark: #000000;
JSON
{
  "hex": "#af2454",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 84
  },
  "hsl": {
    "h": 339.281,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50223,
    "c": 0.1759,
    "h": 6.2
  },
  "luminance": 0.11016
}

Semantic roles & 50–950 ramp

primary
#AF2454
secondary
#68C7A6
accent
#E9AE3F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2454

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

Preview Lab → · Contrast checker → · Palette generator →

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