#AF2F64#AF2F64

#AF2F64 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.6% C 0.169 H 359.9°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF2F64
RGBrgb(175, 47, 100)
HSLhsl(335, 58%, 44%)
HSVhsv(335, 73%, 69%)
CMYKcmyk(0%, 73.1%, 42.9%, 31.4%)
CIE-LABlab(41.33, 55.16, -0.34)
CIE-LCHlch(41.33, 55.16, 359.65°)
OKLaboklab(51.63% 0.1692 -0.0002)
OKLCHoklch(51.63% 0.169 359.9)
XYZxyz(20.9975, 12.0698, 13.2781)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F64 #2FAF7A
analogous
#AF2FA4 #AF2F64 #AF3A2F
triadic
#AF2F64 #64AF2F #2F64AF
tetradic
#AF2F64 #A4AF2F #2FAF7A #3A2FAF
square
#AF2F64 #A4AF2F #2FAF7A #3A2FAF
split-complementary
#AF2F64 #2FAF3A #2FA4AF
monochromatic
#4F152D #7F2248 #AF2F64 #CF4C82 #DC7CA4

Accessibility & contrast

On white

6.15
#AF2F64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF2F64 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F64
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F64#FFFFFF#000000##FFFFFF
##AF2F641.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5265
Deuteranopia (green-blind)
#6D6A61
Tritanopia (blue-blind)
#BE1C46
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2f64;
/* rgb */ color: rgb(175, 47, 100);
/* oklch */ color: oklch(51.6% 0.169 359.9);
Tailwind
colors: {
  custom: {
    50: '#cc7290',
    500: '#af2f64',
    950: '#000000',
  },
}
SCSS
$custom: #af2f64;
$custom-light: #cc7290;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f64",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 100
  },
  "hsl": {
    "h": 335.156,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51634,
    "c": 0.16921,
    "h": 359.9
  },
  "luminance": 0.12067
}

Semantic roles & 50–950 ramp

primary
#AF2F64
secondary
#75C4A4
accent
#E1A147
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF2F64

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

Preview Lab → · Contrast checker → · Palette generator →

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