#AF366A#AF366A

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

Color values

HEX#AF366A
RGBrgb(175, 54, 106)
HSLhsl(334, 53%, 45%)
HSVhsv(334, 69%, 69%)
CMYKcmyk(0%, 69.1%, 39.4%, 31.4%)
CIE-LABlab(42.45, 53.17, -2.43)
CIE-LCHlch(42.45, 53.23, 357.38°)
OKLaboklab(52.53% 0.1629 -0.0057)
OKLCHoklch(52.53% 0.163 358)
XYZxyz(21.6013, 12.7955, 14.9651)
Luminance0.1279 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF366A #36AF7B
analogous
#AF36A6 #AF366A #AF3F36
triadic
#AF366A #6AAF36 #366AAF
tetradic
#AF366A #A6AF36 #36AF7B #3F36AF
square
#AF366A #A6AF36 #36AF7B #3F36AF
split-complementary
#AF366A #36AF3F #36A6AF
monochromatic
#511931 #80284E #AF366A #CB5789 #DA86AA

Accessibility & contrast

On white

5.90
#AF366A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF366A
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF366A#FFFFFF#000000##FFFFFF
##AF366A1.005.903.565.90
#FFFFFF5.901.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.901.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af366a;
/* rgb */ color: rgb(175, 54, 106);
/* oklch */ color: oklch(52.5% 0.163 358.0);
Tailwind
colors: {
  custom: {
    50: '#cb7694',
    500: '#af366a',
    950: '#000000',
  },
}
SCSS
$custom: #af366a;
$custom-light: #cb7694;
$custom-dark: #000000;
JSON
{
  "hex": "#af366a",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 106
  },
  "hsl": {
    "h": 334.215,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52526,
    "c": 0.16301,
    "h": 358
  },
  "luminance": 0.12793
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF366A

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

Preview Lab → · Contrast checker → · Palette generator →

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