#AF2651#AF2651

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

Color values

HEX#AF2651
RGBrgb(175, 38, 81)
HSLhsl(341, 64%, 42%)
HSVhsv(341, 78%, 69%)
CMYKcmyk(0%, 78.3%, 53.7%, 31.4%)
CIE-LABlab(39.74, 56.42, 9.38)
CIE-LCHlch(39.74, 57.20, 9.44°)
OKLaboklab(50.3% 0.1718 0.024)
OKLCHoklch(50.3% 0.174 8)
XYZxyz(19.8594, 11.0971, 8.8792)
Luminance0.1109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2651 #26AF84
analogous
#AF2696 #AF2651 #AF4026
triadic
#AF2651 #51AF26 #2651AF
tetradic
#AF2651 #96AF26 #26AF84 #4026AF
square
#AF2651 #96AF26 #26AF84 #4026AF
split-complementary
#AF2651 #26AF40 #2696AF
monochromatic
#4A1022 #7D1B3A #AF2651 #D53D6D #E07093

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2651#FFFFFF#000000##FFFFFF
##AF26511.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)
#4A4C52
Deuteranopia (green-blind)
#6E674E
Tritanopia (blue-blind)
#BF0039
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2651;
/* rgb */ color: rgb(175, 38, 81);
/* oklch */ color: oklch(50.3% 0.174 8.0);
Tailwind
colors: {
  custom: {
    50: '#cd6e81',
    500: '#af2651',
    950: '#000000',
  },
}
SCSS
$custom: #af2651;
$custom-light: #cd6e81;
$custom-dark: #000000;
JSON
{
  "hex": "#af2651",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 81
  },
  "hsl": {
    "h": 341.168,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50295,
    "c": 0.17351,
    "h": 8
  },
  "luminance": 0.11094
}

Semantic roles & 50–950 ramp

primary
#AF2651
secondary
#6AC7AA
accent
#E7B340
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15080A
muted
#837B7C

Preview Lab

Preview with #AF2651

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

Preview Lab → · Contrast checker → · Palette generator →

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