#AF2556#AF2556

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

Color values

HEX#AF2556
RGBrgb(175, 37, 86)
HSLhsl(339, 65%, 42%)
HSVhsv(339, 79%, 69%)
CMYKcmyk(0%, 78.9%, 50.9%, 31.4%)
CIE-LABlab(39.77, 57.13, 6.24)
CIE-LCHlch(39.77, 57.47, 6.23°)
OKLaboklab(50.36% 0.1747 0.0164)
OKLCHoklch(50.36% 0.175 5.4)
XYZxyz(20.0223, 11.1118, 9.8928)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2556 #25AF7E
analogous
#AF259B #AF2556 #AF3925
triadic
#AF2556 #56AF25 #2556AF
tetradic
#AF2556 #9BAF25 #25AF7E #3925AF
square
#AF2556 #9BAF25 #25AF7E #3925AF
split-complementary
#AF2556 #25AF39 #259BAF
monochromatic
#4A1024 #7C1A3D #AF2556 #D63C72 #E06E97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2556#FFFFFF#000000##FFFFFF
##AF25561.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)
#484C57
Deuteranopia (green-blind)
#6D6753
Tritanopia (blue-blind)
#BF003B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2556;
/* rgb */ color: rgb(175, 37, 86);
/* oklch */ color: oklch(50.4% 0.175 5.4);
Tailwind
colors: {
  custom: {
    50: '#cd6e85',
    500: '#af2556',
    950: '#000000',
  },
}
SCSS
$custom: #af2556;
$custom-light: #cd6e85;
$custom-dark: #000000;
JSON
{
  "hex": "#af2556",
  "rgb": {
    "r": 175,
    "g": 37,
    "b": 86
  },
  "hsl": {
    "h": 338.696,
    "s": 65.094,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50355,
    "c": 0.17545,
    "h": 5.4
  },
  "luminance": 0.11109
}

Semantic roles & 50–950 ramp

primary
#AF2556
secondary
#69C7A6
accent
#E8AC40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2556

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

Preview Lab → · Contrast checker → · Palette generator →

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