#AF2F59#AF2F59

#AF2F59 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.3% C 0.166 H 5.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF2F59
RGBrgb(175, 47, 89)
HSLhsl(340, 58%, 44%)
HSVhsv(340, 73%, 69%)
CMYKcmyk(0%, 73.1%, 49.1%, 31.4%)
CIE-LABlab(41.01, 54.12, 6.11)
CIE-LCHlch(41.01, 54.47, 6.44°)
OKLaboklab(51.3% 0.1653 0.0161)
OKLCHoklch(51.3% 0.166 5.6)
XYZxyz(20.5006, 11.8710, 10.6611)
Luminance0.1187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F59 #2FAF85
analogous
#AF2F99 #AF2F59 #AF452F
triadic
#AF2F59 #59AF2F #2F59AF
tetradic
#AF2F59 #99AF2F #2FAF85 #452FAF
square
#AF2F59 #99AF2F #2FAF85 #452FAF
split-complementary
#AF2F59 #2FAF45 #2F99AF
monochromatic
#4F1528 #7F2240 #AF2F59 #CF4C77 #DC7C9C

Accessibility & contrast

On white

6.22
#AF2F59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF2F59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F59
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F59#FFFFFF#000000##FFFFFF
##AF2F591.006.223.376.22
#FFFFFF6.221.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D515A
Deuteranopia (green-blind)
#6F6A56
Tritanopia (blue-blind)
#BF1540
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2f59;
/* rgb */ color: rgb(175, 47, 89);
/* oklch */ color: oklch(51.3% 0.166 5.6);
Tailwind
colors: {
  custom: {
    50: '#cc7287',
    500: '#af2f59',
    950: '#000000',
  },
}
SCSS
$custom: #af2f59;
$custom-light: #cc7287;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f59",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 89
  },
  "hsl": {
    "h": 340.313,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51298,
    "c": 0.16608,
    "h": 5.6
  },
  "luminance": 0.11868
}

Semantic roles & 50–950 ramp

primary
#AF2F59
secondary
#75C4AB
accent
#E1AE47
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090B
muted
#837B7C

Preview Lab

Preview with #AF2F59

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

Preview Lab → · Contrast checker → · Palette generator →

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