#AF2986#AF2986

#AF2986 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.192 H 343.4°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AF2986
RGBrgb(175, 41, 134)
HSLhsl(318, 62%, 42%)
HSVhsv(318, 77%, 69%)
CMYKcmyk(0%, 76.6%, 23.4%, 31.4%)
CIE-LABlab(41.88, 61.07, -20.59)
CIE-LCHlch(41.88, 64.45, 341.37°)
OKLaboklab(52.45% 0.1843 -0.0551)
OKLCHoklch(52.45% 0.192 343.4)
XYZxyz(22.7761, 12.4235, 23.7481)
Luminance0.1242 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2986 #29AF52
analogous
#9529AF #AF2986 #AF2943
triadic
#AF2986 #86AF29 #2986AF
tetradic
#AF2986 #AF9529 #29AF52 #2943AF
square
#AF2986 #AF9529 #29AF52 #2943AF
split-complementary
#AF2986 #43AF29 #29AF95
monochromatic
#4C123A #7D1D60 #AF2986 #D342A7 #DE74BE

Accessibility & contrast

On white

6.03
#AF2986 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AF2986 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2986
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2986#FFFFFF#000000##FFFFFF
##AF29861.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385588
Deuteranopia (green-blind)
#626B83
Tritanopia (blue-blind)
#BA2955
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2986;
/* rgb */ color: rgb(175, 41, 134);
/* oklch */ color: oklch(52.4% 0.192 343.4);
Tailwind
colors: {
  custom: {
    50: '#cb71a9',
    500: '#af2986',
    950: '#000000',
  },
}
SCSS
$custom: #af2986;
$custom-light: #cb71a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af2986",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 134
  },
  "hsl": {
    "h": 318.358,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.5245,
    "c": 0.19235,
    "h": 343.4
  },
  "luminance": 0.12421
}

Semantic roles & 50–950 ramp

primary
#AF2986
secondary
#6EC689
accent
#E57443
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #AF2986

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

Preview Lab → · Contrast checker → · Palette generator →

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