#AF2561#AF2561

#AF2561 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.179 H 360.0°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#AF2561
RGBrgb(175, 37, 97)
HSLhsl(334, 65%, 42%)
HSVhsv(334, 79%, 69%)
CMYKcmyk(0%, 78.9%, 44.6%, 31.4%)
CIE-LABlab(40.09, 58.10, -0.27)
CIE-LCHlch(40.09, 58.10, 359.74°)
OKLaboklab(50.69% 0.1786 0)
OKLCHoklch(50.69% 0.179 0)
XYZxyz(20.5001, 11.3029, 12.4091)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2561 #25AF73
analogous
#AF25A6 #AF2561 #AF2E25
triadic
#AF2561 #61AF25 #2561AF
tetradic
#AF2561 #A6AF25 #25AF73 #2E25AF
square
#AF2561 #A6AF25 #25AF73 #2E25AF
split-complementary
#AF2561 #25AF2E #25A6AF
monochromatic
#4A1029 #7C1A45 #AF2561 #D63C7F #E06EA0

Accessibility & contrast

On white

6.44
#AF2561 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#AF2561 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2561
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2561#FFFFFF#000000##FFFFFF
##AF25611.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454E62
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#BE0440
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2561;
/* rgb */ color: rgb(175, 37, 97);
/* oklch */ color: oklch(50.7% 0.179 360.0);
Tailwind
colors: {
  custom: {
    50: '#cc6e8d',
    500: '#af2561',
    950: '#000000',
  },
}
SCSS
$custom: #af2561;
$custom-light: #cc6e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2561",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 97
  },
  "hsl": {
    "h": 333.913,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50693,
    "c": 0.17856,
    "h": 360
  },
  "luminance": 0.113
}

Semantic roles & 50–950 ramp

primary
#AF2561
secondary
#69C79E
accent
#E89F40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2561

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

Preview Lab → · Contrast checker → · Palette generator →

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