#AF366C#AF366C

#AF366C is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.164 H 356.9°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AF366C
RGBrgb(175, 54, 108)
HSLhsl(333, 53%, 45%)
HSVhsv(333, 69%, 69%)
CMYKcmyk(0%, 69.1%, 38.3%, 31.4%)
CIE-LABlab(42.52, 53.39, -3.58)
CIE-LCHlch(42.52, 53.51, 356.16°)
OKLaboklab(52.59% 0.1636 -0.0087)
OKLCHoklch(52.59% 0.164 356.9)
XYZxyz(21.7065, 12.8376, 15.5193)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF366C #36AF79
analogous
#AF36A8 #AF366C #AF3D36
triadic
#AF366C #6CAF36 #366CAF
tetradic
#AF366C #A8AF36 #36AF79 #3D36AF
square
#AF366C #A8AF36 #36AF79 #3D36AF
split-complementary
#AF366C #36AF3D #36A8AF
monochromatic
#511932 #80284F #AF366C #CB578B #DA86AB

Accessibility & contrast

On white

5.89
#AF366C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF366C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF366C
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF366C#FFFFFF#000000##FFFFFF
##AF366C1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566D
Deuteranopia (green-blind)
#6E6D69
Tritanopia (blue-blind)
#BD2A4C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af366c;
/* rgb */ color: rgb(175, 54, 108);
/* oklch */ color: oklch(52.6% 0.164 356.9);
Tailwind
colors: {
  custom: {
    50: '#cb7696',
    500: '#af366c',
    950: '#000000',
  },
}
SCSS
$custom: #af366c;
$custom-light: #cb7696;
$custom-dark: #000000;
JSON
{
  "hex": "#af366c",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 108
  },
  "hsl": {
    "h": 333.223,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52594,
    "c": 0.16379,
    "h": 356.9
  },
  "luminance": 0.12835
}

Semantic roles & 50–950 ramp

primary
#AF366C
secondary
#7DC3A4
accent
#DC9C4C
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF366C

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

Preview Lab → · Contrast checker → · Palette generator →

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