#AF2486#AF2486

#AF2486 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.197 H 343.1°. Best body text is #FFFFFF at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#AF2486
RGBrgb(175, 36, 134)
HSLhsl(318, 66%, 41%)
HSVhsv(318, 79%, 69%)
CMYKcmyk(0%, 79.4%, 23.4%, 31.4%)
CIE-LABlab(41.37, 62.52, -21.38)
CIE-LCHlch(41.37, 66.08, 341.12°)
OKLaboklab(52.08% 0.1888 -0.0573)
OKLCHoklch(52.08% 0.197 343.1)
XYZxyz(22.6140, 12.0994, 23.6941)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2486 #24AF4D
analogous
#9324AF #AF2486 #AF2441
triadic
#AF2486 #86AF24 #2486AF
tetradic
#AF2486 #AF9324 #24AF4D #2441AF
square
#AF2486 #AF9324 #24AF4D #2441AF
split-complementary
#AF2486 #41AF24 #24AF93
monochromatic
#490F38 #7C1A5F #AF2486 #D63AA8 #E16DBF

Accessibility & contrast

On white

6.14
#AF2486 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF2486 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2486
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2486#FFFFFF#000000##FFFFFF
##AF24861.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2486;
/* rgb */ color: rgb(175, 36, 134);
/* oklch */ color: oklch(52.1% 0.197 343.1);
Tailwind
colors: {
  custom: {
    50: '#cb6fa9',
    500: '#af2486',
    950: '#000000',
  },
}
SCSS
$custom: #af2486;
$custom-light: #cb6fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#af2486",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 134
  },
  "hsl": {
    "h": 317.698,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52083,
    "c": 0.19726,
    "h": 343.1
  },
  "luminance": 0.12097
}

Semantic roles & 50–950 ramp

primary
#AF2486
secondary
#68C784
accent
#E9713F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF2486

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

Preview Lab → · Contrast checker → · Palette generator →

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