#AF2657#AF2657

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

Color values

HEX#AF2657
RGBrgb(175, 38, 87)
HSLhsl(339, 64%, 42%)
HSVhsv(339, 78%, 69%)
CMYKcmyk(0%, 78.3%, 50.3%, 31.4%)
CIE-LABlab(39.90, 56.91, 5.79)
CIE-LCHlch(39.90, 57.21, 5.81°)
OKLaboklab(50.46% 0.1741 0.0153)
OKLCHoklch(50.46% 0.175 5)
XYZxyz(20.0944, 11.1911, 10.1170)
Luminance0.1119 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2657 #26AF7E
analogous
#AF269C #AF2657 #AF3A26
triadic
#AF2657 #57AF26 #2657AF
tetradic
#AF2657 #9CAF26 #26AF7E #3A26AF
square
#AF2657 #9CAF26 #26AF7E #3A26AF
split-complementary
#AF2657 #26AF3A #269CAF
monochromatic
#4A1025 #7D1B3E #AF2657 #D53D74 #E07098

Accessibility & contrast

On white

6.49
#AF2657 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2657
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2657#FFFFFF#000000##FFFFFF
##AF26571.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494D58
Deuteranopia (green-blind)
#6D6854
Tritanopia (blue-blind)
#BF003B
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2657;
/* rgb */ color: rgb(175, 38, 87);
/* oklch */ color: oklch(50.5% 0.175 5.0);
Tailwind
colors: {
  custom: {
    50: '#cd6e86',
    500: '#af2657',
    950: '#000000',
  },
}
SCSS
$custom: #af2657;
$custom-light: #cd6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#af2657",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 87
  },
  "hsl": {
    "h": 338.54,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50462,
    "c": 0.17476,
    "h": 5
  },
  "luminance": 0.11188
}

Semantic roles & 50–950 ramp

primary
#AF2657
secondary
#6AC7A6
accent
#E7AC40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2657

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

Preview Lab → · Contrast checker → · Palette generator →

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