#AF2481#AF2481

#AF2481 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.194 H 345.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AF2481
RGBrgb(175, 36, 129)
HSLhsl(320, 66%, 41%)
HSVhsv(320, 79%, 69%)
CMYKcmyk(0%, 79.4%, 26.3%, 31.4%)
CIE-LABlab(41.16, 61.89, -18.64)
CIE-LCHlch(41.16, 64.64, 343.24°)
OKLaboklab(51.86% 0.1879 -0.0496)
OKLCHoklch(51.86% 0.194 345.2)
XYZxyz(22.2735, 11.9632, 21.9008)
Luminance0.1196 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2481 #24AF52
analogous
#9824AF #AF2481 #AF243C
triadic
#AF2481 #81AF24 #2481AF
tetradic
#AF2481 #AF9824 #24AF52 #243CAF
square
#AF2481 #AF9824 #24AF52 #243CAF
split-complementary
#AF2481 #3CAF24 #24AF98
monochromatic
#490F36 #7C1A5C #AF2481 #D63AA3 #E16DBA

Accessibility & contrast

On white

6.19
#AF2481 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2481 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2481
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2481#FFFFFF#000000##FFFFFF
##AF24811.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385283
Deuteranopia (green-blind)
#62697E
Tritanopia (blue-blind)
#BB2150
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2481;
/* rgb */ color: rgb(175, 36, 129);
/* oklch */ color: oklch(51.9% 0.194 345.2);
Tailwind
colors: {
  custom: {
    50: '#cb6fa5',
    500: '#af2481',
    950: '#000000',
  },
}
SCSS
$custom: #af2481;
$custom-light: #cb6fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#af2481",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 129
  },
  "hsl": {
    "h": 319.856,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51856,
    "c": 0.19432,
    "h": 345.2
  },
  "luminance": 0.11961
}

Semantic roles & 50–950 ramp

primary
#AF2481
secondary
#68C787
accent
#E9773F
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2481

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

Preview Lab → · Contrast checker → · Palette generator →

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