#AF2560#AF2560

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

Color values

HEX#AF2560
RGBrgb(175, 37, 96)
HSLhsl(334, 65%, 42%)
HSVhsv(334, 79%, 69%)
CMYKcmyk(0%, 78.9%, 45.1%, 31.4%)
CIE-LABlab(40.06, 58.01, 0.32)
CIE-LCHlch(40.06, 58.01, 0.32°)
OKLaboklab(50.66% 0.1782 0.0015)
OKLCHoklch(50.66% 0.178 0.5)
XYZxyz(20.4537, 11.2844, 12.1651)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2560 #25AF74
analogous
#AF25A5 #AF2560 #AF2F25
triadic
#AF2560 #60AF25 #2560AF
tetradic
#AF2560 #A5AF25 #25AF74 #2F25AF
square
#AF2560 #A5AF25 #25AF74 #2F25AF
split-complementary
#AF2560 #25AF2F #25A5AF
monochromatic
#4A1029 #7C1A44 #AF2560 #D63C7D #E06E9F

Accessibility & contrast

On white

6.45
#AF2560 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2560
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2560#FFFFFF#000000##FFFFFF
##AF25601.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E61
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#BE033F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2560;
/* rgb */ color: rgb(175, 37, 96);
/* oklch */ color: oklch(50.7% 0.178 0.5);
Tailwind
colors: {
  custom: {
    50: '#cc6e8d',
    500: '#af2560',
    950: '#000000',
  },
}
SCSS
$custom: #af2560;
$custom-light: #cc6e8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2560",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 96
  },
  "hsl": {
    "h": 334.348,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.5066,
    "c": 0.17823,
    "h": 0.5
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#AF2560
secondary
#69C79F
accent
#E8A040
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2560

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

Preview Lab → · Contrast checker → · Palette generator →

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