#AF2489#AF2489

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

Color values

HEX#AF2489
RGBrgb(175, 36, 137)
HSLhsl(316, 66%, 41%)
HSVhsv(316, 79%, 69%)
CMYKcmyk(0%, 79.4%, 21.7%, 31.4%)
CIE-LABlab(41.51, 62.91, -23.01)
CIE-LCHlch(41.51, 66.99, 339.91°)
OKLaboklab(52.22% 0.1892 -0.0619)
OKLCHoklch(52.22% 0.199 341.9)
XYZxyz(22.8262, 12.1843, 24.8117)
Luminance0.1218 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2489 #24AF4A
analogous
#9024AF #AF2489 #AF2444
triadic
#AF2489 #89AF24 #2489AF
tetradic
#AF2489 #AF9024 #24AF4A #2444AF
square
#AF2489 #AF9024 #24AF4A #2444AF
split-complementary
#AF2489 #44AF24 #24AF90
monochromatic
#490F3A #7C1A61 #AF2489 #D63AAC #E16DC1

Accessibility & contrast

On white

6.11
#AF2489 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF2489 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2489
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2489#FFFFFF#000000##FFFFFF
##AF24891.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#33548C
Deuteranopia (green-blind)
#5F6A86
Tritanopia (blue-blind)
#BA2655
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2489;
/* rgb */ color: rgb(175, 36, 137);
/* oklch */ color: oklch(52.2% 0.199 341.9);
Tailwind
colors: {
  custom: {
    50: '#cb6fab',
    500: '#af2489',
    950: '#000000',
  },
}
SCSS
$custom: #af2489;
$custom-light: #cb6fab;
$custom-dark: #000000;
JSON
{
  "hex": "#af2489",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 137
  },
  "hsl": {
    "h": 316.403,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.52223,
    "c": 0.19907,
    "h": 341.9
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2489

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

Preview Lab → · Contrast checker → · Palette generator →

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