#AF2992#AF2992

#AF2992 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.200 H 338.5°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF2992
RGBrgb(175, 41, 146)
HSLhsl(313, 62%, 42%)
HSVhsv(313, 77%, 69%)
CMYKcmyk(0%, 76.6%, 16.6%, 31.4%)
CIE-LABlab(42.43, 62.70, -27.06)
CIE-LCHlch(42.43, 68.29, 336.65°)
OKLaboklab(53.02% 0.186 -0.0734)
OKLCHoklch(53.02% 0.2 338.5)
XYZxyz(23.6610, 12.7775, 28.4087)
Luminance0.1278 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2992 #29AF46
analogous
#8929AF #AF2992 #AF294F
triadic
#AF2992 #92AF29 #2992AF
tetradic
#AF2992 #AF8929 #29AF46 #294FAF
square
#AF2992 #AF8929 #29AF46 #294FAF
split-complementary
#AF2992 #4FAF29 #29AF89
monochromatic
#4C123F #7D1D69 #AF2992 #D342B4 #DE74C7

Accessibility & contrast

On white

5.91
#AF2992 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#AF2992 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2992
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2992#FFFFFF#000000##FFFFFF
##AF29921.005.913.565.91
#FFFFFF5.911.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305795
Deuteranopia (green-blind)
#5E6C8F
Tritanopia (blue-blind)
#B9305B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2992;
/* rgb */ color: rgb(175, 41, 146);
/* oklch */ color: oklch(53.0% 0.200 338.5);
Tailwind
colors: {
  custom: {
    50: '#cb71b2',
    500: '#af2992',
    950: '#000000',
  },
}
SCSS
$custom: #af2992;
$custom-light: #cb71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af2992",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 146
  },
  "hsl": {
    "h": 312.985,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.53022,
    "c": 0.19997,
    "h": 338.5
  },
  "luminance": 0.12775
}

Semantic roles & 50–950 ramp

primary
#AF2992
secondary
#6EC681
accent
#E56643
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2992

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

Preview Lab → · Contrast checker → · Palette generator →

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