#AF2564#AF2564

#AF2564 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.180 H 358.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AF2564
RGBrgb(175, 37, 100)
HSLhsl(333, 65%, 42%)
HSVhsv(333, 79%, 69%)
CMYKcmyk(0%, 78.9%, 42.9%, 31.4%)
CIE-LABlab(40.18, 58.39, -2.02)
CIE-LCHlch(40.18, 58.43, 358.02°)
OKLaboklab(50.79% 0.1795 -0.0046)
OKLCHoklch(50.79% 0.18 358.5)
XYZxyz(20.6426, 11.3599, 13.1598)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2564 #25AF70
analogous
#AF25A9 #AF2564 #AF2B25
triadic
#AF2564 #64AF25 #2564AF
tetradic
#AF2564 #A9AF25 #25AF70 #2B25AF
square
#AF2564 #A9AF25 #25AF70 #2B25AF
split-complementary
#AF2564 #25AF2B #25A9AF
monochromatic
#4A102A #7C1A47 #AF2564 #D63C82 #E06EA2

Accessibility & contrast

On white

6.42
#AF2564 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2564
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2564#FFFFFF#000000##FFFFFF
##AF25641.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444E66
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#BE0841
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2564;
/* rgb */ color: rgb(175, 37, 100);
/* oklch */ color: oklch(50.8% 0.180 358.5);
Tailwind
colors: {
  custom: {
    50: '#cc6e90',
    500: '#af2564',
    950: '#000000',
  },
}
SCSS
$custom: #af2564;
$custom-light: #cc6e90;
$custom-dark: #000000;
JSON
{
  "hex": "#af2564",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 100
  },
  "hsl": {
    "h": 332.609,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50792,
    "c": 0.1796,
    "h": 358.5
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#AF2564
secondary
#69C79C
accent
#E89B40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2564

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

Preview Lab → · Contrast checker → · Palette generator →

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