#AF2585#AF2585

#AF2585 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 52.1% C 0.196 H 343.6°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF2585
RGBrgb(175, 37, 133)
HSLhsl(318, 65%, 42%)
HSVhsv(318, 79%, 69%)
CMYKcmyk(0%, 78.9%, 24%, 31.4%)
CIE-LABlab(41.43, 62.12, -20.68)
CIE-LCHlch(41.43, 65.47, 341.59°)
OKLaboklab(52.11% 0.1877 -0.0553)
OKLCHoklch(52.11% 0.196 343.6)
XYZxyz(22.5753, 12.1330, 23.3388)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2585 #25AF4F
analogous
#9425AF #AF2585 #AF2540
triadic
#AF2585 #85AF25 #2585AF
tetradic
#AF2585 #AF9425 #25AF4F #2540AF
square
#AF2585 #AF9425 #25AF4F #2540AF
split-complementary
#AF2585 #40AF25 #25AF94
monochromatic
#4A1038 #7C1A5F #AF2585 #D63CA7 #E06EBE

Accessibility & contrast

On white

6.13
#AF2585 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF2585 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2585
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2585#FFFFFF#000000##FFFFFF
##AF25851.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365387
Deuteranopia (green-blind)
#616A82
Tritanopia (blue-blind)
#BB2553
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2585;
/* rgb */ color: rgb(175, 37, 133);
/* oklch */ color: oklch(52.1% 0.196 343.6);
Tailwind
colors: {
  custom: {
    50: '#cb6fa8',
    500: '#af2585',
    950: '#000000',
  },
}
SCSS
$custom: #af2585;
$custom-light: #cb6fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2585",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 133
  },
  "hsl": {
    "h": 318.261,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52107,
    "c": 0.19571,
    "h": 343.6
  },
  "luminance": 0.12131
}

Semantic roles & 50–950 ramp

primary
#AF2585
secondary
#69C786
accent
#E87340
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2585

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

Preview Lab → · Contrast checker → · Palette generator →

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