#AF2582#AF2582

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

Color values

HEX#AF2582
RGBrgb(175, 37, 130)
HSLhsl(320, 65%, 42%)
HSVhsv(320, 79%, 69%)
CMYKcmyk(0%, 78.9%, 25.7%, 31.4%)
CIE-LABlab(41.30, 61.74, -19.04)
CIE-LCHlch(41.30, 64.61, 342.86°)
OKLaboklab(51.97% 0.1872 -0.0507)
OKLCHoklch(51.97% 0.194 344.8)
XYZxyz(22.3710, 12.0513, 22.2628)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2582 #25AF52
analogous
#9725AF #AF2582 #AF253D
triadic
#AF2582 #82AF25 #2582AF
tetradic
#AF2582 #AF9725 #25AF52 #253DAF
square
#AF2582 #AF9725 #25AF52 #253DAF
split-complementary
#AF2582 #3DAF25 #25AF97
monochromatic
#4A1037 #7C1A5C #AF2582 #D63CA3 #E06EBB

Accessibility & contrast

On white

6.16
#AF2582 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF2582 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2582
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2582#FFFFFF#000000##FFFFFF
##AF25821.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385384
Deuteranopia (green-blind)
#626A7F
Tritanopia (blue-blind)
#BB2351
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2582;
/* rgb */ color: rgb(175, 37, 130);
/* oklch */ color: oklch(52.0% 0.194 344.8);
Tailwind
colors: {
  custom: {
    50: '#cb6fa6',
    500: '#af2582',
    950: '#000000',
  },
}
SCSS
$custom: #af2582;
$custom-light: #cb6fa6;
$custom-dark: #000000;
JSON
{
  "hex": "#af2582",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 130
  },
  "hsl": {
    "h": 319.565,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51971,
    "c": 0.19396,
    "h": 344.8
  },
  "luminance": 0.12049
}

Semantic roles & 50–950 ramp

primary
#AF2582
secondary
#69C788
accent
#E87740
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2582

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

Preview Lab → · Contrast checker → · Palette generator →

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