#AF2566#AF2566

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

Color values

HEX#AF2566
RGBrgb(175, 37, 102)
HSLhsl(332, 65%, 42%)
HSVhsv(332, 79%, 69%)
CMYKcmyk(0%, 78.9%, 41.7%, 31.4%)
CIE-LABlab(40.24, 58.59, -3.19)
CIE-LCHlch(40.24, 58.67, 356.89°)
OKLaboklab(50.86% 0.1802 -0.0076)
OKLCHoklch(50.86% 0.18 357.6)
XYZxyz(20.7406, 11.3991, 13.6759)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2566 #25AF6E
analogous
#AF25AB #AF2566 #AF2925
triadic
#AF2566 #66AF25 #2566AF
tetradic
#AF2566 #ABAF25 #25AF6E #2925AF
square
#AF2566 #ABAF25 #25AF6E #2925AF
split-complementary
#AF2566 #25AF29 #25ABAF
monochromatic
#4A102B #7C1A49 #AF2566 #D63C84 #E06EA4

Accessibility & contrast

On white

6.40
#AF2566 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF2566 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2566
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2566#FFFFFF#000000##FFFFFF
##AF25661.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444E68
Deuteranopia (green-blind)
#6A6863
Tritanopia (blue-blind)
#BE0B42
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2566;
/* rgb */ color: rgb(175, 37, 102);
/* oklch */ color: oklch(50.9% 0.180 357.6);
Tailwind
colors: {
  custom: {
    50: '#cc6e91',
    500: '#af2566',
    950: '#000000',
  },
}
SCSS
$custom: #af2566;
$custom-light: #cc6e91;
$custom-dark: #000000;
JSON
{
  "hex": "#af2566",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 102
  },
  "hsl": {
    "h": 331.739,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50861,
    "c": 0.18034,
    "h": 357.6
  },
  "luminance": 0.11396
}

Semantic roles & 50–950 ramp

primary
#AF2566
secondary
#69C79B
accent
#E89940
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2566

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

Preview Lab → · Contrast checker → · Palette generator →

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