#AF2459#AF2459

#AF2459 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.177 H 3.7°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF2459
RGBrgb(175, 36, 89)
HSLhsl(337, 66%, 41%)
HSVhsv(337, 79%, 69%)
CMYKcmyk(0%, 79.4%, 49.1%, 31.4%)
CIE-LABlab(39.75, 57.67, 4.31)
CIE-LCHlch(39.75, 57.83, 4.27°)
OKLaboklab(50.37% 0.1767 0.0116)
OKLCHoklch(50.37% 0.177 3.7)
XYZxyz(20.1150, 11.0998, 10.5325)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2459 #24AF7A
analogous
#AF249F #AF2459 #AF3424
triadic
#AF2459 #59AF24 #2459AF
tetradic
#AF2459 #9FAF24 #24AF7A #3424AF
square
#AF2459 #9FAF24 #24AF7A #3424AF
split-complementary
#AF2459 #24AF34 #249FAF
monochromatic
#490F25 #7C1A3F #AF2459 #D63A76 #E16D99

Accessibility & contrast

On white

6.52
#AF2459 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2459 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2459
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2459#FFFFFF#000000##FFFFFF
##AF24591.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474C5A
Deuteranopia (green-blind)
#6C6756
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2459;
/* rgb */ color: rgb(175, 36, 89);
/* oklch */ color: oklch(50.4% 0.177 3.7);
Tailwind
colors: {
  custom: {
    50: '#cd6e87',
    500: '#af2459',
    950: '#000000',
  },
}
SCSS
$custom: #af2459;
$custom-light: #cd6e87;
$custom-dark: #000000;
JSON
{
  "hex": "#af2459",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 89
  },
  "hsl": {
    "h": 337.122,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50368,
    "c": 0.17709,
    "h": 3.7
  },
  "luminance": 0.11097
}

Semantic roles & 50–950 ramp

primary
#AF2459
secondary
#68C7A3
accent
#E9A83F
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2459

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

Preview Lab → · Contrast checker → · Palette generator →

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