#AF2D6F#AF2D6F

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

Color values

HEX#AF2D6F
RGBrgb(175, 45, 111)
HSLhsl(330, 59%, 43%)
HSVhsv(330, 74%, 69%)
CMYKcmyk(0%, 74.3%, 36.6%, 31.4%)
CIE-LABlab(41.44, 57.01, -7.05)
CIE-LCHlch(41.44, 57.45, 352.95°)
OKLaboklab(51.84% 0.1749 -0.0179)
OKLCHoklch(51.84% 0.176 354.2)
XYZxyz(21.4882, 12.1410, 16.2477)
Luminance0.1214 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D6F #2DAF6D
analogous
#AE2DAF #AF2D6F #AF2D2E
triadic
#AF2D6F #6FAF2D #2D6FAF
tetradic
#AF2D6F #AFAE2D #2DAF6D #2D2EAF
square
#AF2D6F #AFAE2D #2DAF6D #2D2EAF
split-complementary
#AF2D6F #2EAF2D #2DAFAE
monochromatic
#4E1431 #7E2050 #AF2D6F #D0498E #DD7AAC

Accessibility & contrast

On white

6.13
#AF2D6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2D6F
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D6F#FFFFFF#000000##FFFFFF
##AF2D6F1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2d6f;
/* rgb */ color: rgb(175, 45, 111);
/* oklch */ color: oklch(51.8% 0.176 354.2);
Tailwind
colors: {
  custom: {
    50: '#cc7298',
    500: '#af2d6f',
    950: '#000000',
  },
}
SCSS
$custom: #af2d6f;
$custom-light: #cc7298;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d6f",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 111
  },
  "hsl": {
    "h": 329.538,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51835,
    "c": 0.17579,
    "h": 354.2
  },
  "luminance": 0.12138
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2D6F

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

Preview Lab → · Contrast checker → · Palette generator →

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