#AF2664#AF2664

#AF2664 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.179 H 358.7°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF2664
RGBrgb(175, 38, 100)
HSLhsl(333, 64%, 42%)
HSVhsv(333, 78%, 69%)
CMYKcmyk(0%, 78.3%, 42.9%, 31.4%)
CIE-LABlab(40.28, 58.10, -1.87)
CIE-LCHlch(40.28, 58.13, 358.16°)
OKLaboklab(50.87% 0.1786 -0.0042)
OKLCHoklch(50.87% 0.179 358.7)
XYZxyz(20.6741, 11.4230, 13.1703)
Luminance0.1142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2664 #26AF71
analogous
#AF26A9 #AF2664 #AF2D26
triadic
#AF2664 #64AF26 #2664AF
tetradic
#AF2664 #A9AF26 #26AF71 #2D26AF
square
#AF2664 #A9AF26 #26AF71 #2D26AF
split-complementary
#AF2664 #26AF2D #26A9AF
monochromatic
#4A102B #7D1B47 #AF2664 #D53D82 #E070A2

Accessibility & contrast

On white

6.39
#AF2664 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2664
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2664#FFFFFF#000000##FFFFFF
##AF26641.006.393.286.39
#FFFFFF6.391.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454E65
Deuteranopia (green-blind)
#6A6861
Tritanopia (blue-blind)
#BE0B42
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2664;
/* rgb */ color: rgb(175, 38, 100);
/* oklch */ color: oklch(50.9% 0.179 358.7);
Tailwind
colors: {
  custom: {
    50: '#cc6f90',
    500: '#af2664',
    950: '#000000',
  },
}
SCSS
$custom: #af2664;
$custom-light: #cc6f90;
$custom-dark: #000000;
JSON
{
  "hex": "#af2664",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 100
  },
  "hsl": {
    "h": 332.847,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50869,
    "c": 0.17865,
    "h": 358.7
  },
  "luminance": 0.1142
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2664

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

Preview Lab → · Contrast checker → · Palette generator →

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