#AF2F61#AF2F61

#AF2F61 is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.5% C 0.168 H 1.4°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#AF2F61
RGBrgb(175, 47, 97)
HSLhsl(337, 58%, 44%)
HSVhsv(337, 73%, 69%)
CMYKcmyk(0%, 73.1%, 44.6%, 31.4%)
CIE-LABlab(41.24, 54.87, 1.41)
CIE-LCHlch(41.24, 54.88, 1.47°)
OKLaboklab(51.54% 0.1682 0.0043)
OKLCHoklch(51.54% 0.168 1.4)
XYZxyz(20.8550, 12.0127, 12.5274)
Luminance0.1201 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F61 #2FAF7D
analogous
#AF2FA1 #AF2F61 #AF3D2F
triadic
#AF2F61 #61AF2F #2F61AF
tetradic
#AF2F61 #A1AF2F #2FAF7D #3D2FAF
square
#AF2F61 #A1AF2F #2FAF7D #3D2FAF
split-complementary
#AF2F61 #2FAF3D #2FA1AF
monochromatic
#4F152C #7F2246 #AF2F61 #CF4C7F #DC7CA2

Accessibility & contrast

On white

6.17
#AF2F61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF2F61 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F61
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F61#FFFFFF#000000##FFFFFF
##AF2F611.006.173.406.17
#FFFFFF6.171.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5162
Deuteranopia (green-blind)
#6E6A5E
Tritanopia (blue-blind)
#BE1A44
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2f61;
/* rgb */ color: rgb(175, 47, 97);
/* oklch */ color: oklch(51.5% 0.168 1.4);
Tailwind
colors: {
  custom: {
    50: '#cc728d',
    500: '#af2f61',
    950: '#000000',
  },
}
SCSS
$custom: #af2f61;
$custom-light: #cc728d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f61",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 97
  },
  "hsl": {
    "h": 336.563,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51538,
    "c": 0.16823,
    "h": 1.4
  },
  "luminance": 0.1201
}

Semantic roles & 50–950 ramp

primary
#AF2F61
secondary
#75C4A6
accent
#E1A547
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF2F61

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

Preview Lab → · Contrast checker → · Palette generator →

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