#AF367A#AF367A

#AF367A is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.1% C 0.170 H 349.8°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#AF367A
RGBrgb(175, 54, 122)
HSLhsl(326, 53%, 45%)
HSVhsv(326, 69%, 69%)
CMYKcmyk(0%, 69.1%, 30.3%, 31.4%)
CIE-LABlab(43.00, 55.04, -11.51)
CIE-LCHlch(43.00, 56.23, 348.19°)
OKLaboklab(53.11% 0.1677 -0.03)
OKLCHoklch(53.11% 0.17 349.8)
XYZxyz(22.5123, 13.1599, 19.7631)
Luminance0.1316 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF367A #36AF6B
analogous
#A736AF #AF367A #AF363E
triadic
#AF367A #7AAF36 #367AAF
tetradic
#AF367A #AFA736 #36AF6B #363EAF
square
#AF367A #AFA736 #36AF6B #363EAF
split-complementary
#AF367A #3EAF36 #36AFA7
monochromatic
#511939 #802859 #AF367A #CB5798 #DA86B5

Accessibility & contrast

On white

5.78
#AF367A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AF367A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF367A
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF367A#FFFFFF#000000##FFFFFF
##AF367A1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48587C
Deuteranopia (green-blind)
#6A6D77
Tritanopia (blue-blind)
#BC3053
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af367a;
/* rgb */ color: rgb(175, 54, 122);
/* oklch */ color: oklch(53.1% 0.170 349.8);
Tailwind
colors: {
  custom: {
    50: '#cb76a0',
    500: '#af367a',
    950: '#000000',
  },
}
SCSS
$custom: #af367a;
$custom-light: #cb76a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af367a",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 122
  },
  "hsl": {
    "h": 326.281,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53111,
    "c": 0.17034,
    "h": 349.8
  },
  "luminance": 0.13157
}

Semantic roles & 50–950 ramp

primary
#AF367A
secondary
#7DC39C
accent
#DC8B4C
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF367A

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

Preview Lab → · Contrast checker → · Palette generator →

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