#AF2D59#AF2D59

#AF2D59 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.168 H 5.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF2D59
RGBrgb(175, 45, 89)
HSLhsl(340, 59%, 43%)
HSVhsv(340, 74%, 69%)
CMYKcmyk(0%, 74.3%, 49.1%, 31.4%)
CIE-LABlab(40.76, 54.82, 5.75)
CIE-LCHlch(40.76, 55.12, 5.99°)
OKLaboklab(51.11% 0.1676 0.0152)
OKLCHoklch(51.11% 0.168 5.2)
XYZxyz(20.4225, 11.7148, 10.6350)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D59 #2DAF83
analogous
#AF2D9A #AF2D59 #AF422D
triadic
#AF2D59 #59AF2D #2D59AF
tetradic
#AF2D59 #9AAF2D #2DAF83 #422DAF
square
#AF2D59 #9AAF2D #2DAF83 #422DAF
split-complementary
#AF2D59 #2DAF42 #2D9AAF
monochromatic
#4E1427 #7E2040 #AF2D59 #D04977 #DD7A9B

Accessibility & contrast

On white

6.28
#AF2D59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF2D59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D59
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D59#FFFFFF#000000##FFFFFF
##AF2D591.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C505A
Deuteranopia (green-blind)
#6E6956
Tritanopia (blue-blind)
#BF1140
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2d59;
/* rgb */ color: rgb(175, 45, 89);
/* oklch */ color: oklch(51.1% 0.168 5.2);
Tailwind
colors: {
  custom: {
    50: '#cd7187',
    500: '#af2d59',
    950: '#000000',
  },
}
SCSS
$custom: #af2d59;
$custom-light: #cd7187;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d59",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 89
  },
  "hsl": {
    "h": 339.692,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51112,
    "c": 0.16824,
    "h": 5.2
  },
  "luminance": 0.11712
}

Semantic roles & 50–950 ramp

primary
#AF2D59
secondary
#73C5A9
accent
#E2AD46
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AF2D59

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

Preview Lab → · Contrast checker → · Palette generator →

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