#AF2A68#AF2A68

#AF2A68 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.176 H 357.2°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF2A68
RGBrgb(175, 42, 104)
HSLhsl(332, 61%, 43%)
HSVhsv(332, 76%, 69%)
CMYKcmyk(0%, 76%, 40.6%, 31.4%)
CIE-LABlab(40.85, 57.26, -3.55)
CIE-LCHlch(40.85, 57.37, 356.46°)
OKLaboklab(51.33% 0.1759 -0.0086)
OKLCHoklch(51.33% 0.176 357.2)
XYZxyz(21.0073, 11.7720, 14.2600)
Luminance0.1177 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A68 #2AAF71
analogous
#AF2AAA #AF2A68 #AF2F2A
triadic
#AF2A68 #68AF2A #2A68AF
tetradic
#AF2A68 #AAAF2A #2AAF71 #2F2AAF
square
#AF2A68 #AAAF2A #2AAF71 #2F2AAF
split-complementary
#AF2A68 #2AAF2F #2AAAAF
monochromatic
#4C122D #7E1E4B #AF2A68 #D24486 #DE75A6

Accessibility & contrast

On white

6.26
#AF2A68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF2A68 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A68
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A68#FFFFFF#000000##FFFFFF
##AF2A681.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46506A
Deuteranopia (green-blind)
#6B6965
Tritanopia (blue-blind)
#BD1745
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2a68;
/* rgb */ color: rgb(175, 42, 104);
/* oklch */ color: oklch(51.3% 0.176 357.2);
Tailwind
colors: {
  custom: {
    50: '#cc7093',
    500: '#af2a68',
    950: '#000000',
  },
}
SCSS
$custom: #af2a68;
$custom-light: #cc7093;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a68",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 104
  },
  "hsl": {
    "h": 332.03,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51327,
    "c": 0.17612,
    "h": 357.2
  },
  "luminance": 0.11769
}

Semantic roles & 50–950 ramp

primary
#AF2A68
secondary
#6FC69D
accent
#E49943
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2A68

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

Preview Lab → · Contrast checker → · Palette generator →

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