#AF2482#AF2482

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

Color values

HEX#AF2482
RGBrgb(175, 36, 130)
HSLhsl(319, 66%, 41%)
HSVhsv(319, 79%, 69%)
CMYKcmyk(0%, 79.4%, 25.7%, 31.4%)
CIE-LABlab(41.20, 62.02, -19.19)
CIE-LCHlch(41.20, 64.92, 342.81°)
OKLaboklab(51.9% 0.1881 -0.0511)
OKLCHoklch(51.9% 0.195 344.8)
XYZxyz(22.3403, 11.9899, 22.2525)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2482 #24AF51
analogous
#9724AF #AF2482 #AF243D
triadic
#AF2482 #82AF24 #2482AF
tetradic
#AF2482 #AF9724 #24AF51 #243DAF
square
#AF2482 #AF9724 #24AF51 #243DAF
split-complementary
#AF2482 #3DAF24 #24AF97
monochromatic
#490F37 #7C1A5C #AF2482 #D63AA4 #E16DBB

Accessibility & contrast

On white

6.18
#AF2482 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF2482 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2482
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2482#FFFFFF#000000##FFFFFF
##AF24821.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375284
Deuteranopia (green-blind)
#62697F
Tritanopia (blue-blind)
#BB2251
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2482;
/* rgb */ color: rgb(175, 36, 130);
/* oklch */ color: oklch(51.9% 0.195 344.8);
Tailwind
colors: {
  custom: {
    50: '#cb6fa6',
    500: '#af2482',
    950: '#000000',
  },
}
SCSS
$custom: #af2482;
$custom-light: #cb6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#af2482",
  "rgb": {
    "r": 175,
    "g": 36,
    "b": 130
  },
  "hsl": {
    "h": 319.424,
    "s": 65.877,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51901,
    "c": 0.1949,
    "h": 344.8
  },
  "luminance": 0.11987
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2482

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

Preview Lab → · Contrast checker → · Palette generator →

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