#AF2488#AF2488

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

Color values

HEX#AF2488
RGBrgb(175, 36, 136)
HSLhsl(317, 66%, 41%)
HSVhsv(317, 79%, 69%)
CMYKcmyk(0%, 79.4%, 22.3%, 31.4%)
CIE-LABlab(41.46, 62.78, -22.47)
CIE-LCHlch(41.46, 66.68, 340.31°)
OKLaboklab(52.18% 0.1891 -0.0603)
OKLCHoklch(52.18% 0.198 342.3)
XYZxyz(22.7548, 12.1557, 24.4357)
Luminance0.1215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2488 #24AF4B
analogous
#9124AF #AF2488 #AF2442
triadic
#AF2488 #88AF24 #2488AF
tetradic
#AF2488 #AF9124 #24AF4B #2442AF
square
#AF2488 #AF9124 #24AF4B #2442AF
split-complementary
#AF2488 #42AF24 #24AF91
monochromatic
#490F39 #7C1A61 #AF2488 #D63AAA #E16DC0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2488#FFFFFF#000000##FFFFFF
##AF24881.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)
#33538B
Deuteranopia (green-blind)
#606A85
Tritanopia (blue-blind)
#BA2654
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2488;
/* rgb */ color: rgb(175, 36, 136);
/* oklch */ color: oklch(52.2% 0.198 342.3);
Tailwind
colors: {
  custom: {
    50: '#cb6fab',
    500: '#af2488',
    950: '#000000',
  },
}
SCSS
$custom: #af2488;
$custom-light: #cb6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#af2488",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 136
  },
  "hsl": {
    "h": 316.835,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52176,
    "c": 0.19847,
    "h": 342.3
  },
  "luminance": 0.12153
}

Semantic roles & 50–950 ramp

primary
#AF2488
secondary
#68C782
accent
#E96F3F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140810
muted
#837B7F

Preview Lab

Preview with #AF2488

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

Preview Lab → · Contrast checker → · Palette generator →

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