#AF2991#AF2991

#AF2991 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 53.0% C 0.199 H 338.9°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AF2991
RGBrgb(175, 41, 145)
HSLhsl(313, 62%, 42%)
HSVhsv(313, 77%, 69%)
CMYKcmyk(0%, 76.6%, 17.1%, 31.4%)
CIE-LABlab(42.38, 62.56, -26.53)
CIE-LCHlch(42.38, 67.95, 337.02°)
OKLaboklab(52.97% 0.1859 -0.0719)
OKLCHoklch(52.97% 0.199 338.9)
XYZxyz(23.5836, 12.7465, 28.0009)
Luminance0.1274 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2991 #29AF47
analogous
#8A29AF #AF2991 #AF294E
triadic
#AF2991 #91AF29 #2991AF
tetradic
#AF2991 #AF8A29 #29AF47 #294EAF
square
#AF2991 #AF8A29 #29AF47 #294EAF
split-complementary
#AF2991 #4EAF29 #29AF8A
monochromatic
#4C123F #7D1D68 #AF2991 #D342B2 #DE74C7

Accessibility & contrast

On white

5.92
#AF2991 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF2991 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2991
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2991#FFFFFF#000000##FFFFFF
##AF29911.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315794
Deuteranopia (green-blind)
#5E6B8E
Tritanopia (blue-blind)
#B92F5A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2991;
/* rgb */ color: rgb(175, 41, 145);
/* oklch */ color: oklch(53.0% 0.199 338.9);
Tailwind
colors: {
  custom: {
    50: '#cb71b1',
    500: '#af2991',
    950: '#000000',
  },
}
SCSS
$custom: #af2991;
$custom-light: #cb71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2991",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 145
  },
  "hsl": {
    "h": 313.433,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52972,
    "c": 0.19931,
    "h": 338.9
  },
  "luminance": 0.12744
}

Semantic roles & 50–950 ramp

primary
#AF2991
secondary
#6EC682
accent
#E56743
background
#FDF7FA
surface
#FAEDF5
border
#D3C8CF
text
#140910
muted
#837B7F

Preview Lab

Preview with #AF2991

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

Preview Lab → · Contrast checker → · Palette generator →

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