#AF2E85#AF2E85

#AF2E85 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.8% C 0.186 H 344.1°. Best body text is #FFFFFF at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#AF2E85
RGBrgb(175, 46, 133)
HSLhsl(320, 58%, 43%)
HSVhsv(320, 74%, 69%)
CMYKcmyk(0%, 73.7%, 24%, 31.4%)
CIE-LABlab(42.41, 59.34, -19.17)
CIE-LCHlch(42.41, 62.36, 342.09°)
OKLaboklab(52.82% 0.1792 -0.0512)
OKLCHoklch(52.82% 0.186 344.1)
XYZxyz(22.8907, 12.7638, 23.4439)
Luminance0.1276 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E85 #2EAF58
analogous
#982EAF #AF2E85 #AF2E44
triadic
#AF2E85 #85AF2E #2E85AF
tetradic
#AF2E85 #AF982E #2EAF58 #2E44AF
square
#AF2E85 #AF982E #2EAF58 #2E44AF
split-complementary
#AF2E85 #44AF2E #2EAF98
monochromatic
#4E153B #7F2160 #AF2E85 #D04BA4 #DC7BBD

Accessibility & contrast

On white

5.91
#AF2E85 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AF2E85 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E85
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E85#FFFFFF#000000##FFFFFF
##AF2E851.005.913.555.91
#FFFFFF5.911.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5687
Deuteranopia (green-blind)
#646C82
Tritanopia (blue-blind)
#BB2D56
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2e85;
/* rgb */ color: rgb(175, 46, 133);
/* oklch */ color: oklch(52.8% 0.186 344.1);
Tailwind
colors: {
  custom: {
    50: '#cb73a8',
    500: '#af2e85',
    950: '#000000',
  },
}
SCSS
$custom: #af2e85;
$custom-light: #cb73a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e85",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 133
  },
  "hsl": {
    "h": 319.535,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52817,
    "c": 0.18632,
    "h": 344.1
  },
  "luminance": 0.12761
}

Semantic roles & 50–950 ramp

primary
#AF2E85
secondary
#74C58E
accent
#E27946
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF2E85

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

Preview Lab → · Contrast checker → · Palette generator →

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