#AF2583#AF2583

#AF2583 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.0% C 0.195 H 344.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF2583
RGBrgb(175, 37, 131)
HSLhsl(319, 65%, 42%)
HSVhsv(319, 79%, 69%)
CMYKcmyk(0%, 78.9%, 25.1%, 31.4%)
CIE-LABlab(41.34, 61.86, -19.59)
CIE-LCHlch(41.34, 64.89, 342.43°)
OKLaboklab(52.02% 0.1874 -0.0522)
OKLCHoklch(52.02% 0.195 344.4)
XYZxyz(22.4385, 12.0783, 22.6180)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2583 #25AF51
analogous
#9625AF #AF2583 #AF253E
triadic
#AF2583 #83AF25 #2583AF
tetradic
#AF2583 #AF9625 #25AF51 #253EAF
square
#AF2583 #AF9625 #25AF51 #253EAF
split-complementary
#AF2583 #3EAF25 #25AF96
monochromatic
#4A1037 #7C1A5D #AF2583 #D63CA5 #E06EBC

Accessibility & contrast

On white

6.15
#AF2583 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF2583 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2583
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2583#FFFFFF#000000##FFFFFF
##AF25831.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375385
Deuteranopia (green-blind)
#626A80
Tritanopia (blue-blind)
#BB2352
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2583;
/* rgb */ color: rgb(175, 37, 131);
/* oklch */ color: oklch(52.0% 0.195 344.4);
Tailwind
colors: {
  custom: {
    50: '#cb6fa7',
    500: '#af2583',
    950: '#000000',
  },
}
SCSS
$custom: #af2583;
$custom-light: #cb6fa7;
$custom-dark: #000000;
JSON
{
  "hex": "#af2583",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 131
  },
  "hsl": {
    "h": 319.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52016,
    "c": 0.19454,
    "h": 344.4
  },
  "luminance": 0.12076
}

Semantic roles & 50–950 ramp

primary
#AF2583
secondary
#69C787
accent
#E87540
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2583

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

Preview Lab → · Contrast checker → · Palette generator →

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