#AF2B86#AF2B86

#AF2B86 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.6% C 0.190 H 343.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AF2B86
RGBrgb(175, 43, 134)
HSLhsl(319, 61%, 43%)
HSVhsv(319, 75%, 69%)
CMYKcmyk(0%, 75.4%, 23.4%, 31.4%)
CIE-LABlab(42.10, 60.45, -20.25)
CIE-LCHlch(42.10, 63.75, 341.48°)
OKLaboklab(52.61% 0.1824 -0.0542)
OKLCHoklch(52.61% 0.19 343.5)
XYZxyz(22.8470, 12.5654, 23.7718)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B86 #2BAF54
analogous
#962BAF #AF2B86 #AF2B44
triadic
#AF2B86 #86AF2B #2B86AF
tetradic
#AF2B86 #AF962B #2BAF54 #2B44AF
square
#AF2B86 #AF962B #2BAF54 #2B44AF
split-complementary
#AF2B86 #44AF2B #2BAF96
monochromatic
#4D133B #7E1F60 #AF2B86 #D146A6 #DE77BE

Accessibility & contrast

On white

5.98
#AF2B86 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AF2B86 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B86
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B86#FFFFFF#000000##FFFFFF
##AF2B861.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5588
Deuteranopia (green-blind)
#636B83
Tritanopia (blue-blind)
#BA2B55
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2b86;
/* rgb */ color: rgb(175, 43, 134);
/* oklch */ color: oklch(52.6% 0.190 343.5);
Tailwind
colors: {
  custom: {
    50: '#cb72a9',
    500: '#af2b86',
    950: '#000000',
  },
}
SCSS
$custom: #af2b86;
$custom-light: #cb72a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b86",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 134
  },
  "hsl": {
    "h": 318.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.5261,
    "c": 0.19025,
    "h": 343.5
  },
  "luminance": 0.12563
}

Semantic roles & 50–950 ramp

primary
#AF2B86
secondary
#70C58B
accent
#E47644
background
#FDF7FA
surface
#FAEDF4
border
#D3C8CE
text
#140910
muted
#837B7F

Preview Lab

Preview with #AF2B86

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

Preview Lab → · Contrast checker → · Palette generator →

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