#AF2559#AF2559

#AF2559 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.176 H 3.9°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AF2559
RGBrgb(175, 37, 89)
HSLhsl(337, 65%, 42%)
HSVhsv(337, 79%, 69%)
CMYKcmyk(0%, 78.9%, 49.1%, 31.4%)
CIE-LABlab(39.85, 57.38, 4.45)
CIE-LCHlch(39.85, 57.55, 4.44°)
OKLaboklab(50.44% 0.1758 0.012)
OKLCHoklch(50.44% 0.176 3.9)
XYZxyz(20.1457, 11.1612, 10.5428)
Luminance0.1116 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2559 #25AF7B
analogous
#AF259E #AF2559 #AF3625
triadic
#AF2559 #59AF25 #2559AF
tetradic
#AF2559 #9EAF25 #25AF7B #3625AF
square
#AF2559 #9EAF25 #25AF7B #3625AF
split-complementary
#AF2559 #25AF36 #259EAF
monochromatic
#4A1026 #7C1A3F #AF2559 #D63C76 #E06E99

Accessibility & contrast

On white

6.50
#AF2559 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AF2559 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2559
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2559#FFFFFF#000000##FFFFFF
##AF25591.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5A
Deuteranopia (green-blind)
#6C6856
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2559;
/* rgb */ color: rgb(175, 37, 89);
/* oklch */ color: oklch(50.4% 0.176 3.9);
Tailwind
colors: {
  custom: {
    50: '#cd6e87',
    500: '#af2559',
    950: '#000000',
  },
}
SCSS
$custom: #af2559;
$custom-light: #cd6e87;
$custom-dark: #000000;
JSON
{
  "hex": "#af2559",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 89
  },
  "hsl": {
    "h": 337.391,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50443,
    "c": 0.17619,
    "h": 3.9
  },
  "luminance": 0.11158
}

Semantic roles & 50–950 ramp

primary
#AF2559
secondary
#69C7A3
accent
#E8A940
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2559

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

Preview Lab → · Contrast checker → · Palette generator →

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