#AF2085#AF2085

#AF2085 is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.8% C 0.200 H 343.4°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AF2085
RGBrgb(175, 32, 133)
HSLhsl(318, 69%, 41%)
HSVhsv(318, 82%, 69%)
CMYKcmyk(0%, 81.7%, 24%, 31.4%)
CIE-LABlab(40.97, 63.44, -21.39)
CIE-LCHlch(40.97, 66.95, 341.36°)
OKLaboklab(51.77% 0.1918 -0.0573)
OKLCHoklch(51.77% 0.2 343.4)
XYZxyz(22.4303, 11.8429, 23.2904)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2085 #20AF4A
analogous
#9120AF #AF2085 #AF203E
triadic
#AF2085 #85AF20 #2085AF
tetradic
#AF2085 #AF9120 #20AF4A #203EAF
square
#AF2085 #AF9120 #20AF4A #203EAF
split-complementary
#AF2085 #3EAF20 #20AF91
monochromatic
#480D36 #7B175E #AF2085 #DA33A9 #E366BE

Accessibility & contrast

On white

6.24
#AF2085 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF2085 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2085
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2085#FFFFFF#000000##FFFFFF
##AF20851.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325288
Deuteranopia (green-blind)
#606982
Tritanopia (blue-blind)
#BB2051
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2085;
/* rgb */ color: rgb(175, 32, 133);
/* oklch */ color: oklch(51.8% 0.200 343.4);
Tailwind
colors: {
  custom: {
    50: '#cb6ea8',
    500: '#af2085',
    950: '#000000',
  },
}
SCSS
$custom: #af2085;
$custom-light: #cb6ea8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2085",
  "rgb": {
    "r": 175,
    "g": 32,
    "b": 133
  },
  "hsl": {
    "h": 317.622,
    "s": 69.082,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51774,
    "c": 0.2002,
    "h": 343.4
  },
  "luminance": 0.1184
}

Semantic roles & 50–950 ramp

primary
#AF2085
secondary
#62C880
accent
#EC703C
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14080F
muted
#837B7F

Preview Lab

Preview with #AF2085

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

Preview Lab → · Contrast checker → · Palette generator →

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