#AF366B#AF366B

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

Color values

HEX#AF366B
RGBrgb(175, 54, 107)
HSLhsl(334, 53%, 45%)
HSVhsv(334, 69%, 69%)
CMYKcmyk(0%, 69.1%, 38.9%, 31.4%)
CIE-LABlab(42.49, 53.28, -3.01)
CIE-LCHlch(42.49, 53.37, 356.77°)
OKLaboklab(52.56% 0.1632 -0.0072)
OKLCHoklch(52.56% 0.163 357.5)
XYZxyz(21.6536, 12.8164, 15.2406)
Luminance0.1281 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF366B #36AF7A
analogous
#AF36A7 #AF366B #AF3E36
triadic
#AF366B #6BAF36 #366BAF
tetradic
#AF366B #A7AF36 #36AF7A #3E36AF
square
#AF366B #A7AF36 #36AF7A #3E36AF
split-complementary
#AF366B #36AF3E #36A7AF
monochromatic
#511932 #80284E #AF366B #CB578A #DA86AB

Accessibility & contrast

On white

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

On black

3.56
#AF366B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF366B#FFFFFF#000000##FFFFFF
##AF366B1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566C
Deuteranopia (green-blind)
#6E6D68
Tritanopia (blue-blind)
#BD294C
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af366b;
/* rgb */ color: rgb(175, 54, 107);
/* oklch */ color: oklch(52.6% 0.163 357.5);
Tailwind
colors: {
  custom: {
    50: '#cb7695',
    500: '#af366b',
    950: '#000000',
  },
}
SCSS
$custom: #af366b;
$custom-light: #cb7695;
$custom-dark: #000000;
JSON
{
  "hex": "#af366b",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 107
  },
  "hsl": {
    "h": 333.719,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5256,
    "c": 0.16339,
    "h": 357.5
  },
  "luminance": 0.12814
}

Semantic roles & 50–950 ramp

primary
#AF366B
secondary
#7DC3A5
accent
#DC9D4C
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF366B

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

Preview Lab → · Contrast checker → · Palette generator →

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