#AF2B73#AF2B73

#AF2B73 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.180 H 352.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF2B73
RGBrgb(175, 43, 115)
HSLhsl(327, 61%, 43%)
HSVhsv(327, 75%, 69%)
CMYKcmyk(0%, 75.4%, 34.3%, 31.4%)
CIE-LABlab(41.35, 58.12, -9.68)
CIE-LCHlch(41.35, 58.92, 350.55°)
OKLaboklab(51.81% 0.1781 -0.025)
OKLCHoklch(51.81% 0.18 352)
XYZxyz(21.6389, 12.0821, 17.4089)
Luminance0.1208 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B73 #2BAF67
analogous
#A92BAF #AF2B73 #AF2B31
triadic
#AF2B73 #73AF2B #2B73AF
tetradic
#AF2B73 #AFA92B #2BAF67 #2B31AF
square
#AF2B73 #AFA92B #2BAF67 #2B31AF
split-complementary
#AF2B73 #31AF2B #2BAFA9
monochromatic
#4D1332 #7E1F53 #AF2B73 #D14692 #DE77AF

Accessibility & contrast

On white

6.15
#AF2B73 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF2B73 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B73
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B73#FFFFFF#000000##FFFFFF
##AF2B731.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435275
Deuteranopia (green-blind)
#686A70
Tritanopia (blue-blind)
#BC204B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2b73;
/* rgb */ color: rgb(175, 43, 115);
/* oklch */ color: oklch(51.8% 0.180 352.0);
Tailwind
colors: {
  custom: {
    50: '#cb719b',
    500: '#af2b73',
    950: '#000000',
  },
}
SCSS
$custom: #af2b73;
$custom-light: #cb719b;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b73",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 115
  },
  "hsl": {
    "h": 327.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51813,
    "c": 0.17984,
    "h": 352
  },
  "luminance": 0.1208
}

Semantic roles & 50–950 ramp

primary
#AF2B73
secondary
#70C597
accent
#E48D44
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2B73

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

Preview Lab → · Contrast checker → · Palette generator →

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