#AF2D70#AF2D70

#AF2D70 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.9% C 0.176 H 353.7°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF2D70
RGBrgb(175, 45, 112)
HSLhsl(329, 59%, 43%)
HSVhsv(329, 74%, 69%)
CMYKcmyk(0%, 74.3%, 36%, 31.4%)
CIE-LABlab(41.47, 57.12, -7.62)
CIE-LCHlch(41.47, 57.63, 352.40°)
OKLaboklab(51.87% 0.1752 -0.0194)
OKLCHoklch(51.87% 0.176 353.7)
XYZxyz(21.5436, 12.1632, 16.5393)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D70 #2DAF6C
analogous
#AD2DAF #AF2D70 #AF2D2F
triadic
#AF2D70 #70AF2D #2D70AF
tetradic
#AF2D70 #AFAD2D #2DAF6C #2D2FAF
square
#AF2D70 #AFAD2D #2DAF6C #2D2FAF
split-complementary
#AF2D70 #2FAF2D #2DAFAD
monochromatic
#4E1432 #7E2051 #AF2D70 #D0498F #DD7AAD

Accessibility & contrast

On white

6.12
#AF2D70 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF2D70 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D70
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D70#FFFFFF#000000##FFFFFF
##AF2D701.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455372
Deuteranopia (green-blind)
#6A6A6D
Tritanopia (blue-blind)
#BD204A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2d70;
/* rgb */ color: rgb(175, 45, 112);
/* oklch */ color: oklch(51.9% 0.176 353.7);
Tailwind
colors: {
  custom: {
    50: '#cc7299',
    500: '#af2d70',
    950: '#000000',
  },
}
SCSS
$custom: #af2d70;
$custom-light: #cc7299;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d70",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 112
  },
  "hsl": {
    "h": 329.077,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51872,
    "c": 0.17625,
    "h": 353.7
  },
  "luminance": 0.12161
}

Semantic roles & 50–950 ramp

primary
#AF2D70
secondary
#73C59B
accent
#E29146
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2D70

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

Preview Lab → · Contrast checker → · Palette generator →

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