#AF2658#AF2658

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

Color values

HEX#AF2658
RGBrgb(175, 38, 88)
HSLhsl(338, 64%, 42%)
HSVhsv(338, 78%, 69%)
CMYKcmyk(0%, 78.3%, 49.7%, 31.4%)
CIE-LABlab(39.93, 57.00, 5.20)
CIE-LCHlch(39.93, 57.23, 5.21°)
OKLaboklab(50.49% 0.1745 0.0138)
OKLCHoklch(50.49% 0.175 4.5)
XYZxyz(20.1355, 11.2076, 10.3336)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2658 #26AF7D
analogous
#AF269D #AF2658 #AF3926
triadic
#AF2658 #58AF26 #2658AF
tetradic
#AF2658 #9DAF26 #26AF7D #3926AF
square
#AF2658 #9DAF26 #26AF7D #3926AF
split-complementary
#AF2658 #26AF39 #269DAF
monochromatic
#4A1025 #7D1B3F #AF2658 #D53D75 #E07099

Accessibility & contrast

On white

6.48
#AF2658 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2658
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2658#FFFFFF#000000##FFFFFF
##AF26581.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D59
Deuteranopia (green-blind)
#6D6855
Tritanopia (blue-blind)
#BF003C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #af2658;
/* rgb */ color: rgb(175, 38, 88);
/* oklch */ color: oklch(50.5% 0.175 4.5);
Tailwind
colors: {
  custom: {
    50: '#cd6e86',
    500: '#af2658',
    950: '#000000',
  },
}
SCSS
$custom: #af2658;
$custom-light: #cd6e86;
$custom-dark: #000000;
JSON
{
  "hex": "#af2658",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 88
  },
  "hsl": {
    "h": 338.102,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50491,
    "c": 0.175,
    "h": 4.5
  },
  "luminance": 0.11205
}

Semantic roles & 50–950 ramp

primary
#AF2658
secondary
#6AC7A5
accent
#E7AA40
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#15080B
muted
#837B7C

Preview Lab

Preview with #AF2658

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

Preview Lab → · Contrast checker → · Palette generator →

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