#AF2563#AF2563

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

Color values

HEX#AF2563
RGBrgb(175, 37, 99)
HSLhsl(333, 65%, 42%)
HSVhsv(333, 79%, 69%)
CMYKcmyk(0%, 78.9%, 43.4%, 31.4%)
CIE-LABlab(40.15, 58.29, -1.44)
CIE-LCHlch(40.15, 58.31, 358.59°)
OKLaboklab(50.76% 0.1792 -0.0031)
OKLCHoklch(50.76% 0.179 359)
XYZxyz(20.5945, 11.3407, 12.9065)
Luminance0.1134 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2563 #25AF71
analogous
#AF25A8 #AF2563 #AF2C25
triadic
#AF2563 #63AF25 #2563AF
tetradic
#AF2563 #A8AF25 #25AF71 #2C25AF
square
#AF2563 #A8AF25 #25AF71 #2C25AF
split-complementary
#AF2563 #25AF2C #25A8AF
monochromatic
#4A102A #7C1A46 #AF2563 #D63C81 #E06EA1

Accessibility & contrast

On white

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

On black

3.27
#AF2563 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2563#FFFFFF#000000##FFFFFF
##AF25631.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454E64
Deuteranopia (green-blind)
#6A6860
Tritanopia (blue-blind)
#BE0741
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2563;
/* rgb */ color: rgb(175, 37, 99);
/* oklch */ color: oklch(50.8% 0.179 359.0);
Tailwind
colors: {
  custom: {
    50: '#cc6e8f',
    500: '#af2563',
    950: '#000000',
  },
}
SCSS
$custom: #af2563;
$custom-light: #cc6e8f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2563",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 99
  },
  "hsl": {
    "h": 333.043,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50759,
    "c": 0.17925,
    "h": 359
  },
  "luminance": 0.11338
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2563

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

Preview Lab → · Contrast checker → · Palette generator →

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