#AF2568#AF2568

#AF2568 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.181 H 356.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF2568
RGBrgb(175, 37, 104)
HSLhsl(331, 65%, 42%)
HSVhsv(331, 79%, 69%)
CMYKcmyk(0%, 78.9%, 40.6%, 31.4%)
CIE-LABlab(40.31, 58.79, -4.35)
CIE-LCHlch(40.31, 58.95, 355.77°)
OKLaboklab(50.93% 0.1808 -0.0107)
OKLCHoklch(50.93% 0.181 356.6)
XYZxyz(20.8410, 11.4393, 14.2045)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2568 #25AF6C
analogous
#AF25AD #AF2568 #AF2725
triadic
#AF2568 #68AF25 #2568AF
tetradic
#AF2568 #ADAF25 #25AF6C #2725AF
square
#AF2568 #ADAF25 #25AF6C #2725AF
split-complementary
#AF2568 #25AF27 #25ADAF
monochromatic
#4A102C #7C1A4A #AF2568 #D63C86 #E06EA6

Accessibility & contrast

On white

6.39
#AF2568 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2568 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2568
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2568#FFFFFF#000000##FFFFFF
##AF25681.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434F6A
Deuteranopia (green-blind)
#696865
Tritanopia (blue-blind)
#BE0D43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2568;
/* rgb */ color: rgb(175, 37, 104);
/* oklch */ color: oklch(50.9% 0.181 356.6);
Tailwind
colors: {
  custom: {
    50: '#cc6e93',
    500: '#af2568',
    950: '#000000',
  },
}
SCSS
$custom: #af2568;
$custom-light: #cc6e93;
$custom-dark: #000000;
JSON
{
  "hex": "#af2568",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 104
  },
  "hsl": {
    "h": 330.87,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50931,
    "c": 0.18112,
    "h": 356.6
  },
  "luminance": 0.11437
}

Semantic roles & 50–950 ramp

primary
#AF2568
secondary
#69C799
accent
#E89640
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2568

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

Preview Lab → · Contrast checker → · Palette generator →

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