#AF2755#AF2755

#AF2755 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.173 H 6.2°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#AF2755
RGBrgb(175, 39, 85)
HSLhsl(340, 64%, 42%)
HSVhsv(340, 78%, 69%)
CMYKcmyk(0%, 77.7%, 51.4%, 31.4%)
CIE-LABlab(39.95, 56.44, 7.14)
CIE-LCHlch(39.95, 56.89, 7.21°)
OKLaboklab(50.48% 0.1724 0.0186)
OKLCHoklch(50.48% 0.173 6.2)
XYZxyz(20.0462, 11.2237, 9.7034)
Luminance0.1122 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2755 #27AF81
analogous
#AF2799 #AF2755 #AF3D27
triadic
#AF2755 #55AF27 #2755AF
tetradic
#AF2755 #99AF27 #27AF81 #3D27AF
square
#AF2755 #99AF27 #27AF81 #3D27AF
split-complementary
#AF2755 #27AF3D #2799AF
monochromatic
#4B1124 #7D1C3D #AF2755 #D43F71 #DF7196

Accessibility & contrast

On white

6.47
#AF2755 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#AF2755 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2755
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2755#FFFFFF#000000##FFFFFF
##AF27551.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4D56
Deuteranopia (green-blind)
#6D6852
Tritanopia (blue-blind)
#BF003B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2755;
/* rgb */ color: rgb(175, 39, 85);
/* oklch */ color: oklch(50.5% 0.173 6.2);
Tailwind
colors: {
  custom: {
    50: '#cd6f84',
    500: '#af2755',
    950: '#000000',
  },
}
SCSS
$custom: #af2755;
$custom-light: #cd6f84;
$custom-dark: #000000;
JSON
{
  "hex": "#af2755",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 85
  },
  "hsl": {
    "h": 339.706,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50484,
    "c": 0.17337,
    "h": 6.2
  },
  "luminance": 0.11221
}

Semantic roles & 50–950 ramp

primary
#AF2755
secondary
#6BC6A8
accent
#E7AF41
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2755

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

Preview Lab → · Contrast checker → · Palette generator →

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