#AF2662#AF2662

#AF2662 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.178 H 359.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AF2662
RGBrgb(175, 38, 98)
HSLhsl(334, 64%, 42%)
HSVhsv(334, 78%, 69%)
CMYKcmyk(0%, 78.3%, 44%, 31.4%)
CIE-LABlab(40.22, 57.90, -0.70)
CIE-LCHlch(40.22, 57.91, 359.31°)
OKLaboklab(50.8% 0.1779 -0.0012)
OKLCHoklch(50.8% 0.178 359.6)
XYZxyz(20.5785, 11.3848, 12.6667)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2662 #26AF73
analogous
#AF26A7 #AF2662 #AF2F26
triadic
#AF2662 #62AF26 #2662AF
tetradic
#AF2662 #A7AF26 #26AF73 #2F26AF
square
#AF2662 #A7AF26 #26AF73 #2F26AF
split-complementary
#AF2662 #26AF2F #26A7AF
monochromatic
#4A102A #7D1B46 #AF2662 #D53D80 #E070A1

Accessibility & contrast

On white

6.41
#AF2662 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF2662 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2662
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2662#FFFFFF#000000##FFFFFF
##AF26621.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E63
Deuteranopia (green-blind)
#6B685F
Tritanopia (blue-blind)
#BE0841
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2662;
/* rgb */ color: rgb(175, 38, 98);
/* oklch */ color: oklch(50.8% 0.178 359.6);
Tailwind
colors: {
  custom: {
    50: '#cc6f8e',
    500: '#af2662',
    950: '#000000',
  },
}
SCSS
$custom: #af2662;
$custom-light: #cc6f8e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2662",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 98
  },
  "hsl": {
    "h": 333.723,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50802,
    "c": 0.17794,
    "h": 359.6
  },
  "luminance": 0.11382
}

Semantic roles & 50–950 ramp

primary
#AF2662
secondary
#6AC79E
accent
#E79E40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2662

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

Preview Lab → · Contrast checker → · Palette generator →

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