#AF2759#AF2759

#AF2759 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.174 H 4.2°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#AF2759
RGBrgb(175, 39, 89)
HSLhsl(338, 64%, 42%)
HSVhsv(338, 78%, 69%)
CMYKcmyk(0%, 77.7%, 49.1%, 31.4%)
CIE-LABlab(40.06, 56.78, 4.76)
CIE-LCHlch(40.06, 56.98, 4.79°)
OKLaboklab(50.6% 0.1738 0.0127)
OKLCHoklch(50.6% 0.174 4.2)
XYZxyz(20.2096, 11.2890, 10.5641)
Luminance0.1129 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2759 #27AF7D
analogous
#AF279D #AF2759 #AF3927
triadic
#AF2759 #59AF27 #2759AF
tetradic
#AF2759 #9DAF27 #27AF7D #3927AF
square
#AF2759 #9DAF27 #27AF7D #3927AF
split-complementary
#AF2759 #27AF39 #279DAF
monochromatic
#4B1126 #7D1C40 #AF2759 #D43F76 #DF719A

Accessibility & contrast

On white

6.45
#AF2759 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2759 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2759
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2759#FFFFFF#000000##FFFFFF
##AF27591.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494D5A
Deuteranopia (green-blind)
#6D6856
Tritanopia (blue-blind)
#BF003D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2759;
/* rgb */ color: rgb(175, 39, 89);
/* oklch */ color: oklch(50.6% 0.174 4.2);
Tailwind
colors: {
  custom: {
    50: '#cd6f87',
    500: '#af2759',
    950: '#000000',
  },
}
SCSS
$custom: #af2759;
$custom-light: #cd6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#af2759",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 89
  },
  "hsl": {
    "h": 337.941,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50599,
    "c": 0.1743,
    "h": 4.2
  },
  "luminance": 0.11286
}

Semantic roles & 50–950 ramp

primary
#AF2759
secondary
#6BC6A5
accent
#E7AA41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2759

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

Preview Lab → · Contrast checker → · Palette generator →

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