#AF2B59#AF2B59

#AF2B59 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.9% C 0.170 H 4.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AF2B59
RGBrgb(175, 43, 89)
HSLhsl(339, 61%, 43%)
HSVhsv(339, 75%, 69%)
CMYKcmyk(0%, 75.4%, 49.1%, 31.4%)
CIE-LABlab(40.52, 55.50, 5.41)
CIE-LCHlch(40.52, 55.76, 5.57°)
OKLaboklab(50.93% 0.1697 0.0144)
OKLCHoklch(50.93% 0.17 4.8)
XYZxyz(20.3480, 11.5657, 10.6102)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B59 #2BAF81
analogous
#AF2B9B #AF2B59 #AF3F2B
triadic
#AF2B59 #59AF2B #2B59AF
tetradic
#AF2B59 #9BAF2B #2BAF81 #3F2BAF
square
#AF2B59 #9BAF2B #2BAF81 #3F2BAF
split-complementary
#AF2B59 #2BAF3F #2B9BAF
monochromatic
#4D1327 #7E1F40 #AF2B59 #D14676 #DE779B

Accessibility & contrast

On white

6.34
#AF2B59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF2B59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B59
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B59#FFFFFF#000000##FFFFFF
##AF2B591.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4F5A
Deuteranopia (green-blind)
#6E6956
Tritanopia (blue-blind)
#BF0C3F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2b59;
/* rgb */ color: rgb(175, 43, 89);
/* oklch */ color: oklch(50.9% 0.170 4.8);
Tailwind
colors: {
  custom: {
    50: '#cd7087',
    500: '#af2b59',
    950: '#000000',
  },
}
SCSS
$custom: #af2b59;
$custom-light: #cd7087;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b59",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 89
  },
  "hsl": {
    "h": 339.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.50934,
    "c": 0.17033,
    "h": 4.8
  },
  "luminance": 0.11563
}

Semantic roles & 50–950 ramp

primary
#AF2B59
secondary
#70C5A8
accent
#E4AC44
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2B59

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

Preview Lab → · Contrast checker → · Palette generator →

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