#AF2B79#AF2B79

#AF2B79 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.1% C 0.183 H 349.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AF2B79
RGBrgb(175, 43, 121)
HSLhsl(325, 61%, 43%)
HSVhsv(325, 75%, 69%)
CMYKcmyk(0%, 75.4%, 30.9%, 31.4%)
CIE-LABlab(41.57, 58.82, -13.06)
CIE-LCHlch(41.57, 60.26, 347.48°)
OKLaboklab(52.05% 0.1796 -0.0342)
OKLCHoklch(52.05% 0.183 349.2)
XYZxyz(21.9954, 12.2247, 19.2867)
Luminance0.1222 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B79 #2BAF61
analogous
#A32BAF #AF2B79 #AF2B37
triadic
#AF2B79 #79AF2B #2B79AF
tetradic
#AF2B79 #AFA32B #2BAF61 #2B37AF
square
#AF2B79 #AFA32B #2BAF61 #2B37AF
split-complementary
#AF2B79 #37AF2B #2BAFA3
monochromatic
#4D1335 #7E1F57 #AF2B79 #D14698 #DE77B4

Accessibility & contrast

On white

6.10
#AF2B79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF2B79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B79
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B79#FFFFFF#000000##FFFFFF
##AF2B791.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40537B
Deuteranopia (green-blind)
#676A76
Tritanopia (blue-blind)
#BC234E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2b79;
/* rgb */ color: rgb(175, 43, 121);
/* oklch */ color: oklch(52.1% 0.183 349.2);
Tailwind
colors: {
  custom: {
    50: '#cb719f',
    500: '#af2b79',
    950: '#000000',
  },
}
SCSS
$custom: #af2b79;
$custom-light: #cb719f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b79",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 121
  },
  "hsl": {
    "h": 324.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.18286,
    "h": 349.2
  },
  "luminance": 0.12222
}

Semantic roles & 50–950 ramp

primary
#AF2B79
secondary
#70C593
accent
#E48544
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2B79

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

Preview Lab → · Contrast checker → · Palette generator →

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