#AF2555#AF2555

#AF2555 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.175 H 5.8°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AF2555
RGBrgb(175, 37, 85)
HSLhsl(339, 65%, 42%)
HSVhsv(339, 79%, 69%)
CMYKcmyk(0%, 78.9%, 51.4%, 31.4%)
CIE-LABlab(39.74, 57.04, 6.84)
CIE-LCHlch(39.74, 57.45, 6.83°)
OKLaboklab(50.33% 0.1743 0.0179)
OKLCHoklch(50.33% 0.175 5.8)
XYZxyz(19.9823, 11.0958, 9.6821)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2555 #25AF7F
analogous
#AF259A #AF2555 #AF3A25
triadic
#AF2555 #55AF25 #2555AF
tetradic
#AF2555 #9AAF25 #25AF7F #3A25AF
square
#AF2555 #9AAF25 #25AF7F #3A25AF
split-complementary
#AF2555 #25AF3A #259AAF
monochromatic
#4A1024 #7C1A3C #AF2555 #D63C71 #E06E96

Accessibility & contrast

On white

6.52
#AF2555 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AF2555 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2555
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2555#FFFFFF#000000##FFFFFF
##AF25551.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C56
Deuteranopia (green-blind)
#6D6752
Tritanopia (blue-blind)
#BF003A
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2555;
/* rgb */ color: rgb(175, 37, 85);
/* oklch */ color: oklch(50.3% 0.175 5.8);
Tailwind
colors: {
  custom: {
    50: '#cd6e84',
    500: '#af2555',
    950: '#000000',
  },
}
SCSS
$custom: #af2555;
$custom-light: #cd6e84;
$custom-dark: #000000;
JSON
{
  "hex": "#af2555",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 85
  },
  "hsl": {
    "h": 339.13,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50327,
    "c": 0.17522,
    "h": 5.8
  },
  "luminance": 0.11093
}

Semantic roles & 50–950 ramp

primary
#AF2555
secondary
#69C7A6
accent
#E8AE40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2555

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

Preview Lab → · Contrast checker → · Palette generator →

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