#AF2F6A#AF2F6A

#AF2F6A is a mid, vivid pink. Relative luminance 0.122; OKLCH L 51.8% C 0.171 H 356.9°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AF2F6A
RGBrgb(175, 47, 106)
HSLhsl(332, 58%, 44%)
HSVhsv(332, 73%, 69%)
CMYKcmyk(0%, 73.1%, 39.4%, 31.4%)
CIE-LABlab(41.52, 55.78, -3.81)
CIE-LCHlch(41.52, 55.91, 356.09°)
OKLaboklab(51.84% 0.1712 -0.0093)
OKLCHoklch(51.84% 0.171 356.9)
XYZxyz(21.2987, 12.1902, 14.8642)
Luminance0.1219 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F6A #2FAF74
analogous
#AF2FAA #AF2F6A #AF342F
triadic
#AF2F6A #6AAF2F #2F6AAF
tetradic
#AF2F6A #AAAF2F #2FAF74 #342FAF
square
#AF2F6A #AAAF2F #2FAF74 #342FAF
split-complementary
#AF2F6A #2FAF34 #2FAAAF
monochromatic
#4F1530 #7F224D #AF2F6A #CF4C88 #DC7CA8

Accessibility & contrast

On white

6.11
#AF2F6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2F6A
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F6A#FFFFFF#000000##FFFFFF
##AF2F6A1.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48536C
Deuteranopia (green-blind)
#6C6B67
Tritanopia (blue-blind)
#BD2048
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2f6a;
/* rgb */ color: rgb(175, 47, 106);
/* oklch */ color: oklch(51.8% 0.171 356.9);
Tailwind
colors: {
  custom: {
    50: '#cc7394',
    500: '#af2f6a',
    950: '#000000',
  },
}
SCSS
$custom: #af2f6a;
$custom-light: #cc7394;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f6a",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 332.344,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51836,
    "c": 0.17142,
    "h": 356.9
  },
  "luminance": 0.12188
}

Semantic roles & 50–950 ramp

primary
#AF2F6A
secondary
#75C4A0
accent
#E19A47
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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