#AF2D86#AF2D86

#AF2D86 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.188 H 343.6°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AF2D86
RGBrgb(175, 45, 134)
HSLhsl(319, 59%, 43%)
HSVhsv(319, 74%, 69%)
CMYKcmyk(0%, 74.3%, 23.4%, 31.4%)
CIE-LABlab(42.33, 59.80, -19.90)
CIE-LCHlch(42.33, 63.03, 341.59°)
OKLaboklab(52.78% 0.1804 -0.0532)
OKLCHoklch(52.78% 0.188 343.6)
XYZxyz(22.9215, 12.7144, 23.7966)
Luminance0.1271 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D86 #2DAF56
analogous
#972DAF #AF2D86 #AF2D45
triadic
#AF2D86 #86AF2D #2D86AF
tetradic
#AF2D86 #AF972D #2DAF56 #2D45AF
square
#AF2D86 #AF972D #2DAF56 #2D45AF
split-complementary
#AF2D86 #45AF2D #2DAF97
monochromatic
#4E143B #7E2061 #AF2D86 #D049A6 #DD7ABD

Accessibility & contrast

On white

5.93
#AF2D86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AF2D86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D86
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D86#FFFFFF#000000##FFFFFF
##AF2D861.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5688
Deuteranopia (green-blind)
#636C83
Tritanopia (blue-blind)
#BA2D56
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2d86;
/* rgb */ color: rgb(175, 45, 134);
/* oklch */ color: oklch(52.8% 0.188 343.6);
Tailwind
colors: {
  custom: {
    50: '#cb73a9',
    500: '#af2d86',
    950: '#000000',
  },
}
SCSS
$custom: #af2d86;
$custom-light: #cb73a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d86",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 134
  },
  "hsl": {
    "h": 318.923,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.52776,
    "c": 0.18805,
    "h": 343.6
  },
  "luminance": 0.12712
}

Semantic roles & 50–950 ramp

primary
#AF2D86
secondary
#73C58D
accent
#E27746
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #AF2D86

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

Preview Lab → · Contrast checker → · Palette generator →

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