#AF366F#AF366F

#AF366F is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.165 H 355.4°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF366F
RGBrgb(175, 54, 111)
HSLhsl(332, 53%, 45%)
HSVhsv(332, 69%, 69%)
CMYKcmyk(0%, 69.1%, 36.6%, 31.4%)
CIE-LABlab(42.62, 53.73, -5.30)
CIE-LCHlch(42.62, 53.99, 354.37°)
OKLaboklab(52.7% 0.1645 -0.0133)
OKLCHoklch(52.7% 0.165 355.4)
XYZxyz(21.8689, 12.9025, 16.3746)
Luminance0.1290 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF366F #36AF76
analogous
#AF36AB #AF366F #AF3A36
triadic
#AF366F #6FAF36 #366FAF
tetradic
#AF366F #ABAF36 #36AF76 #3A36AF
square
#AF366F #ABAF36 #36AF76 #3A36AF
split-complementary
#AF366F #36AF3A #36ABAF
monochromatic
#511934 #802851 #AF366F #CB578E #DA86AD

Accessibility & contrast

On white

5.87
#AF366F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF366F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF366F
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF366F#FFFFFF#000000##FFFFFF
##AF366F1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5671
Deuteranopia (green-blind)
#6D6D6C
Tritanopia (blue-blind)
#BD2B4E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af366f;
/* rgb */ color: rgb(175, 54, 111);
/* oklch */ color: oklch(52.7% 0.165 355.4);
Tailwind
colors: {
  custom: {
    50: '#cb7698',
    500: '#af366f',
    950: '#000000',
  },
}
SCSS
$custom: #af366f;
$custom-light: #cb7698;
$custom-dark: #000000;
JSON
{
  "hex": "#af366f",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 111
  },
  "hsl": {
    "h": 331.736,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52699,
    "c": 0.16504,
    "h": 355.4
  },
  "luminance": 0.129
}

Semantic roles & 50–950 ramp

primary
#AF366F
secondary
#7DC3A2
accent
#DC984C
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF366F

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

Preview Lab → · Contrast checker → · Palette generator →

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