#AF3966#AF3966

#AF3966 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.7% C 0.158 H 0.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF3966
RGBrgb(175, 57, 102)
HSLhsl(337, 51%, 45%)
HSVhsv(337, 67%, 69%)
CMYKcmyk(0%, 67.4%, 41.7%, 31.4%)
CIE-LABlab(42.77, 51.55, 0.51)
CIE-LCHlch(42.77, 51.55, 0.57°)
OKLaboklab(52.72% 0.1577 0.0019)
OKLCHoklch(52.72% 0.158 0.7)
XYZxyz(21.5421, 13.0021, 13.9430)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3966 #39AF82
analogous
#AF39A1 #AF3966 #AF4739
triadic
#AF3966 #66AF39 #3966AF
tetradic
#AF3966 #A1AF39 #39AF82 #4739AF
square
#AF3966 #A1AF39 #39AF82 #4739AF
split-complementary
#AF3966 #39AF47 #39A1AF
monochromatic
#531B30 #812A4B #AF3966 #CA5B86 #D98AA8

Accessibility & contrast

On white

5.83
#AF3966 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF3966 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3966
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3966#FFFFFF#000000##FFFFFF
##AF39661.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505767
Deuteranopia (green-blind)
#706D63
Tritanopia (blue-blind)
#BD2B4B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3966;
/* rgb */ color: rgb(175, 57, 102);
/* oklch */ color: oklch(52.7% 0.158 0.7);
Tailwind
colors: {
  custom: {
    50: '#cb7791',
    500: '#af3966',
    950: '#000000',
  },
}
SCSS
$custom: #af3966;
$custom-light: #cb7791;
$custom-dark: #000000;
JSON
{
  "hex": "#af3966",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 102
  },
  "hsl": {
    "h": 337.119,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52717,
    "c": 0.15775,
    "h": 0.7
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#AF3966
secondary
#81C3AA
accent
#DAA54D
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF3966

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

Preview Lab → · Contrast checker → · Palette generator →

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