#AF2E61#AF2E61

#AF2E61 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.4% C 0.169 H 1.3°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF2E61
RGBrgb(175, 46, 97)
HSLhsl(336, 58%, 43%)
HSVhsv(336, 74%, 69%)
CMYKcmyk(0%, 73.7%, 44.6%, 31.4%)
CIE-LABlab(41.11, 55.22, 1.23)
CIE-LCHlch(41.11, 55.23, 1.27°)
OKLaboklab(51.45% 0.1693 0.0038)
OKLCHoklch(51.45% 0.169 1.3)
XYZxyz(20.8155, 11.9337, 12.5143)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E61 #2EAF7C
analogous
#AF2EA1 #AF2E61 #AF3B2E
triadic
#AF2E61 #61AF2E #2E61AF
tetradic
#AF2E61 #A1AF2E #2EAF7C #3B2EAF
square
#AF2E61 #A1AF2E #2EAF7C #3B2EAF
split-complementary
#AF2E61 #2EAF3B #2EA1AF
monochromatic
#4E152B #7F2146 #AF2E61 #D04B7F #DC7BA2

Accessibility & contrast

On white

6.20
#AF2E61 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2E61 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E61
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E61#FFFFFF#000000##FFFFFF
##AF2E611.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2e61;
/* rgb */ color: rgb(175, 46, 97);
/* oklch */ color: oklch(51.4% 0.169 1.3);
Tailwind
colors: {
  custom: {
    50: '#cc728d',
    500: '#af2e61',
    950: '#000000',
  },
}
SCSS
$custom: #af2e61;
$custom-light: #cc728d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e61",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 97
  },
  "hsl": {
    "h": 336.279,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51446,
    "c": 0.16934,
    "h": 1.3
  },
  "luminance": 0.11931
}

Semantic roles & 50–950 ramp

primary
#AF2E61
secondary
#74C5A5
accent
#E2A446
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF2E61

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

Preview Lab → · Contrast checker → · Palette generator →

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