#AF2562#AF2562

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

Color values

HEX#AF2562
RGBrgb(175, 37, 98)
HSLhsl(333, 65%, 42%)
HSVhsv(333, 79%, 69%)
CMYKcmyk(0%, 78.9%, 44%, 31.4%)
CIE-LABlab(40.12, 58.20, -0.85)
CIE-LCHlch(40.12, 58.20, 359.16°)
OKLaboklab(50.73% 0.1789 -0.0016)
OKLCHoklch(50.73% 0.179 359.5)
XYZxyz(20.5470, 11.3217, 12.6562)
Luminance0.1132 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2562 #25AF72
analogous
#AF25A7 #AF2562 #AF2D25
triadic
#AF2562 #62AF25 #2562AF
tetradic
#AF2562 #A7AF25 #25AF72 #2D25AF
square
#AF2562 #A7AF25 #25AF72 #2D25AF
split-complementary
#AF2562 #25AF2D #25A7AF
monochromatic
#4A1029 #7C1A46 #AF2562 #D63C80 #E06EA1

Accessibility & contrast

On white

6.43
#AF2562 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2562
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2562#FFFFFF#000000##FFFFFF
##AF25621.006.433.266.43
#FFFFFF6.431.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454E63
Deuteranopia (green-blind)
#6A685F
Tritanopia (blue-blind)
#BE0540
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2562;
/* rgb */ color: rgb(175, 37, 98);
/* oklch */ color: oklch(50.7% 0.179 359.5);
Tailwind
colors: {
  custom: {
    50: '#cc6e8e',
    500: '#af2562',
    950: '#000000',
  },
}
SCSS
$custom: #af2562;
$custom-light: #cc6e8e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2562",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 98
  },
  "hsl": {
    "h": 333.478,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50726,
    "c": 0.1789,
    "h": 359.5
  },
  "luminance": 0.11319
}

Semantic roles & 50–950 ramp

primary
#AF2562
secondary
#69C79D
accent
#E89E40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2562

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

Preview Lab → · Contrast checker → · Palette generator →

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