#AF2586#AF2586

#AF2586 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.2% C 0.196 H 343.2°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF2586
RGBrgb(175, 37, 134)
HSLhsl(318, 65%, 42%)
HSVhsv(318, 79%, 69%)
CMYKcmyk(0%, 78.9%, 23.4%, 31.4%)
CIE-LABlab(41.47, 62.25, -21.23)
CIE-LCHlch(41.47, 65.77, 341.17°)
OKLaboklab(52.15% 0.1879 -0.0569)
OKLCHoklch(52.15% 0.196 343.2)
XYZxyz(22.6447, 12.1608, 23.7044)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2586 #25AF4E
analogous
#9325AF #AF2586 #AF2541
triadic
#AF2586 #86AF25 #2586AF
tetradic
#AF2586 #AF9325 #25AF4E #2541AF
square
#AF2586 #AF9325 #25AF4E #2541AF
split-complementary
#AF2586 #41AF25 #25AF93
monochromatic
#4A1039 #7C1A5F #AF2586 #D63CA8 #E06EBE

Accessibility & contrast

On white

6.12
#AF2586 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF2586 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2586
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2586#FFFFFF#000000##FFFFFF
##AF25861.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355389
Deuteranopia (green-blind)
#616A83
Tritanopia (blue-blind)
#BB2553
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2586;
/* rgb */ color: rgb(175, 37, 134);
/* oklch */ color: oklch(52.2% 0.196 343.2);
Tailwind
colors: {
  custom: {
    50: '#cb6fa9',
    500: '#af2586',
    950: '#000000',
  },
}
SCSS
$custom: #af2586;
$custom-light: #cb6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#af2586",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 134
  },
  "hsl": {
    "h": 317.826,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52153,
    "c": 0.19631,
    "h": 343.2
  },
  "luminance": 0.12158
}

Semantic roles & 50–950 ramp

primary
#AF2586
secondary
#69C785
accent
#E87240
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF2586

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

Preview Lab → · Contrast checker → · Palette generator →

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