#AF2666#AF2666

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

Color values

HEX#AF2666
RGBrgb(175, 38, 102)
HSLhsl(332, 64%, 42%)
HSVhsv(332, 78%, 69%)
CMYKcmyk(0%, 78.3%, 41.7%, 31.4%)
CIE-LABlab(40.35, 58.29, -3.03)
CIE-LCHlch(40.35, 58.37, 357.02°)
OKLaboklab(50.94% 0.1792 -0.0072)
OKLCHoklch(50.94% 0.179 357.7)
XYZxyz(20.7721, 11.4622, 13.6864)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2666 #26AF6F
analogous
#AF26AB #AF2666 #AF2B26
triadic
#AF2666 #66AF26 #2666AF
tetradic
#AF2666 #ABAF26 #26AF6F #2B26AF
square
#AF2666 #ABAF26 #26AF6F #2B26AF
split-complementary
#AF2666 #26AF2B #26ABAF
monochromatic
#4A102B #7D1B49 #AF2666 #D53D84 #E070A4

Accessibility & contrast

On white

6.38
#AF2666 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2666 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2666
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2666#FFFFFF#000000##FFFFFF
##AF26661.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444F68
Deuteranopia (green-blind)
#6A6863
Tritanopia (blue-blind)
#BE0D43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2666;
/* rgb */ color: rgb(175, 38, 102);
/* oklch */ color: oklch(50.9% 0.179 357.7);
Tailwind
colors: {
  custom: {
    50: '#cc6f91',
    500: '#af2666',
    950: '#000000',
  },
}
SCSS
$custom: #af2666;
$custom-light: #cc6f91;
$custom-dark: #000000;
JSON
{
  "hex": "#af2666",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 102
  },
  "hsl": {
    "h": 331.971,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.50937,
    "c": 0.17939,
    "h": 357.7
  },
  "luminance": 0.11459
}

Semantic roles & 50–950 ramp

primary
#AF2666
secondary
#6AC79B
accent
#E79940
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2666

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

Preview Lab → · Contrast checker → · Palette generator →

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