#AF2985#AF2985

#AF2985 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.4% C 0.192 H 343.8°. Best body text is #FFFFFF at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#AF2985
RGBrgb(175, 41, 133)
HSLhsl(319, 62%, 42%)
HSVhsv(319, 77%, 69%)
CMYKcmyk(0%, 76.6%, 24%, 31.4%)
CIE-LABlab(41.84, 60.95, -20.05)
CIE-LCHlch(41.84, 64.16, 341.79°)
OKLaboklab(52.41% 0.1841 -0.0536)
OKLCHoklch(52.41% 0.192 343.8)
XYZxyz(22.7067, 12.3957, 23.3826)
Luminance0.1239 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2985 #29AF53
analogous
#9629AF #AF2985 #AF2942
triadic
#AF2985 #85AF29 #2985AF
tetradic
#AF2985 #AF9629 #29AF53 #2942AF
square
#AF2985 #AF9629 #29AF53 #2942AF
split-complementary
#AF2985 #42AF29 #29AF96
monochromatic
#4C123A #7D1D5F #AF2985 #D342A6 #DE74BD

Accessibility & contrast

On white

6.04
#AF2985 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AF2985 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2985
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2985#FFFFFF#000000##FFFFFF
##AF29851.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395587
Deuteranopia (green-blind)
#626B82
Tritanopia (blue-blind)
#BB2854
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2985;
/* rgb */ color: rgb(175, 41, 133);
/* oklch */ color: oklch(52.4% 0.192 343.8);
Tailwind
colors: {
  custom: {
    50: '#cb71a8',
    500: '#af2985',
    950: '#000000',
  },
}
SCSS
$custom: #af2985;
$custom-light: #cb71a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2985",
  "rgb": {
    "r": 175,
    "g": 41,
    "b": 133
  },
  "hsl": {
    "h": 318.806,
    "s": 62.037,
    "l": 42.353
  },
  "oklch": {
    "l": 0.52405,
    "c": 0.19175,
    "h": 343.8
  },
  "luminance": 0.12393
}

Semantic roles & 50–950 ramp

primary
#AF2985
secondary
#6EC68A
accent
#E57643
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2985

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

Preview Lab → · Contrast checker → · Palette generator →

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