#AF2668#AF2668

#AF2668 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.180 H 356.7°. Best body text is #FFFFFF at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#AF2668
RGBrgb(175, 38, 104)
HSLhsl(331, 64%, 42%)
HSVhsv(331, 78%, 69%)
CMYKcmyk(0%, 78.3%, 40.6%, 31.4%)
CIE-LABlab(40.41, 58.49, -4.19)
CIE-LCHlch(40.41, 58.65, 355.90°)
OKLaboklab(51.01% 0.1799 -0.0103)
OKLCHoklch(51.01% 0.18 356.7)
XYZxyz(20.8725, 11.5023, 14.2151)
Luminance0.1150 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2668 #26AF6D
analogous
#AF26AD #AF2668 #AF2926
triadic
#AF2668 #68AF26 #2668AF
tetradic
#AF2668 #ADAF26 #26AF6D #2926AF
square
#AF2668 #ADAF26 #26AF6D #2926AF
split-complementary
#AF2668 #26AF29 #26ADAF
monochromatic
#4A102C #7D1B4A #AF2668 #D53D86 #E070A6

Accessibility & contrast

On white

6.36
#AF2668 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AF2668 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2668
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2668#FFFFFF#000000##FFFFFF
##AF26681.006.363.306.36
#FFFFFF6.361.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444F6A
Deuteranopia (green-blind)
#696865
Tritanopia (blue-blind)
#BE0F44
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2668;
/* rgb */ color: rgb(175, 38, 104);
/* oklch */ color: oklch(51.0% 0.180 356.7);
Tailwind
colors: {
  custom: {
    50: '#cc6f93',
    500: '#af2668',
    950: '#000000',
  },
}
SCSS
$custom: #af2668;
$custom-light: #cc6f93;
$custom-dark: #000000;
JSON
{
  "hex": "#af2668",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 104
  },
  "hsl": {
    "h": 331.095,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51006,
    "c": 0.18015,
    "h": 356.7
  },
  "luminance": 0.115
}

Semantic roles & 50–950 ramp

primary
#AF2668
secondary
#6AC79A
accent
#E79740
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2668

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

Preview Lab → · Contrast checker → · Palette generator →

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