#AF2F60#AF2F60

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

Color values

HEX#AF2F60
RGBrgb(175, 47, 96)
HSLhsl(337, 58%, 44%)
HSVhsv(337, 73%, 69%)
CMYKcmyk(0%, 73.1%, 45.1%, 31.4%)
CIE-LABlab(41.21, 54.77, 1.99)
CIE-LCHlch(41.21, 54.81, 2.09°)
OKLaboklab(51.51% 0.1678 0.0058)
OKLCHoklch(51.51% 0.168 2)
XYZxyz(20.8087, 11.9942, 12.2834)
Luminance0.1199 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F60 #2FAF7E
analogous
#AF2FA0 #AF2F60 #AF3E2F
triadic
#AF2F60 #60AF2F #2F60AF
tetradic
#AF2F60 #A0AF2F #2FAF7E #3E2FAF
square
#AF2F60 #A0AF2F #2FAF7E #3E2FAF
split-complementary
#AF2F60 #2FAF3E #2FA0AF
monochromatic
#4F152B #7F2246 #AF2F60 #CF4C7E #DC7CA1

Accessibility & contrast

On white

6.18
#AF2F60 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2F60
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F60#FFFFFF#000000##FFFFFF
##AF2F601.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2f60;
/* rgb */ color: rgb(175, 47, 96);
/* oklch */ color: oklch(51.5% 0.168 2.0);
Tailwind
colors: {
  custom: {
    50: '#cc728d',
    500: '#af2f60',
    950: '#000000',
  },
}
SCSS
$custom: #af2f60;
$custom-light: #cc728d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f60",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 96
  },
  "hsl": {
    "h": 337.031,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51507,
    "c": 0.16793,
    "h": 2
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2F60

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

Preview Lab → · Contrast checker → · Palette generator →

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