#AF2487#AF2487

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

Color values

HEX#AF2487
RGBrgb(175, 36, 135)
HSLhsl(317, 66%, 41%)
HSVhsv(317, 79%, 69%)
CMYKcmyk(0%, 79.4%, 22.9%, 31.4%)
CIE-LABlab(41.42, 62.65, -21.92)
CIE-LCHlch(41.42, 66.38, 340.71°)
OKLaboklab(52.13% 0.1889 -0.0588)
OKLCHoklch(52.13% 0.198 342.7)
XYZxyz(22.6841, 12.1274, 24.0632)
Luminance0.1212 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2487 #24AF4C
analogous
#9224AF #AF2487 #AF2442
triadic
#AF2487 #87AF24 #2487AF
tetradic
#AF2487 #AF9224 #24AF4C #2442AF
square
#AF2487 #AF9224 #24AF4C #2442AF
split-complementary
#AF2487 #42AF24 #24AF92
monochromatic
#490F39 #7C1A60 #AF2487 #D63AA9 #E16DBF

Accessibility & contrast

On white

6.13
#AF2487 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2487
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2487#FFFFFF#000000##FFFFFF
##AF24871.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#34538A
Deuteranopia (green-blind)
#606A84
Tritanopia (blue-blind)
#BA2554
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2487;
/* rgb */ color: rgb(175, 36, 135);
/* oklch */ color: oklch(52.1% 0.198 342.7);
Tailwind
colors: {
  custom: {
    50: '#cb6faa',
    500: '#af2487',
    950: '#000000',
  },
}
SCSS
$custom: #af2487;
$custom-light: #cb6faa;
$custom-dark: #000000;
JSON
{
  "hex": "#af2487",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 135
  },
  "hsl": {
    "h": 317.266,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52129,
    "c": 0.19785,
    "h": 342.7
  },
  "luminance": 0.12125
}

Semantic roles & 50–950 ramp

primary
#AF2487
secondary
#68C783
accent
#E9703F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF2487

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

Preview Lab → · Contrast checker → · Palette generator →

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