#AF2663#AF2663

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

Color values

HEX#AF2663
RGBrgb(175, 38, 99)
HSLhsl(333, 64%, 42%)
HSVhsv(333, 78%, 69%)
CMYKcmyk(0%, 78.3%, 43.4%, 31.4%)
CIE-LABlab(40.25, 58.00, -1.29)
CIE-LCHlch(40.25, 58.01, 358.73°)
OKLaboklab(50.83% 0.1783 -0.0027)
OKLCHoklch(50.83% 0.178 359.1)
XYZxyz(20.6260, 11.4038, 12.9170)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2663 #26AF72
analogous
#AF26A8 #AF2663 #AF2E26
triadic
#AF2663 #63AF26 #2663AF
tetradic
#AF2663 #A8AF26 #26AF72 #2E26AF
square
#AF2663 #A8AF26 #26AF72 #2E26AF
split-complementary
#AF2663 #26AF2E #26A8AF
monochromatic
#4A102A #7D1B47 #AF2663 #D53D81 #E070A2

Accessibility & contrast

On white

6.40
#AF2663 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2663
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2663#FFFFFF#000000##FFFFFF
##AF26631.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454E64
Deuteranopia (green-blind)
#6B6860
Tritanopia (blue-blind)
#BE0941
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2663;
/* rgb */ color: rgb(175, 38, 99);
/* oklch */ color: oklch(50.8% 0.178 359.1);
Tailwind
colors: {
  custom: {
    50: '#cc6f8f',
    500: '#af2663',
    950: '#000000',
  },
}
SCSS
$custom: #af2663;
$custom-light: #cc6f8f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2663",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 99
  },
  "hsl": {
    "h": 333.285,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50835,
    "c": 0.17829,
    "h": 359.1
  },
  "luminance": 0.11401
}

Semantic roles & 50–950 ramp

primary
#AF2663
secondary
#6AC79D
accent
#E79D40
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2663

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

Preview Lab → · Contrast checker → · Palette generator →

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