#AF4666#AF4666

#AF4666 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.3% C 0.140 H 4.0°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#AF4666
RGBrgb(175, 70, 102)
HSLhsl(342, 43%, 48%)
HSVhsv(342, 60%, 69%)
CMYKcmyk(0%, 60%, 41.7%, 31.4%)
CIE-LABlab(44.88, 45.83, 3.58)
CIE-LCHlch(44.88, 45.97, 4.46°)
OKLaboklab(54.29% 0.1397 0.0098)
OKLCHoklch(54.29% 0.14 4)
XYZxyz(22.2691, 14.4561, 14.1854)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4666 #46AF8F
analogous
#AF469A #AF4666 #AF5A46
triadic
#AF4666 #66AF46 #4666AF
tetradic
#AF4666 #9AAF46 #46AF8F #5A46AF
square
#AF4666 #9AAF46 #46AF8F #5A46AF
split-complementary
#AF4666 #46AF5A #469AAF
monochromatic
#582333 #83354D #AF4666 #C56D88 #D699AC

Accessibility & contrast

On white

5.40
#AF4666 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF4666 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4666
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4666#FFFFFF#000000##FFFFFF
##AF46661.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5D67
Deuteranopia (green-blind)
#767264
Tritanopia (blue-blind)
#BD3A52
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4666;
/* rgb */ color: rgb(175, 70, 102);
/* oklch */ color: oklch(54.3% 0.140 4.0);
Tailwind
colors: {
  custom: {
    50: '#cb7e91',
    500: '#af4666',
    950: '#000000',
  },
}
SCSS
$custom: #af4666;
$custom-light: #cb7e91;
$custom-dark: #000000;
JSON
{
  "hex": "#af4666",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 102
  },
  "hsl": {
    "h": 341.714,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.54289,
    "c": 0.14003,
    "h": 4
  },
  "luminance": 0.14454
}

Semantic roles & 50–950 ramp

primary
#AF4666
secondary
#8EC2B3
accent
#D3AC55
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF4666

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

Preview Lab → · Contrast checker → · Palette generator →

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