#AF367C#AF367C

#AF367C is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.2% C 0.171 H 348.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF367C
RGBrgb(175, 54, 124)
HSLhsl(325, 53%, 45%)
HSVhsv(325, 69%, 69%)
CMYKcmyk(0%, 69.1%, 29.1%, 31.4%)
CIE-LABlab(43.08, 55.29, -12.63)
CIE-LCHlch(43.08, 56.71, 347.14°)
OKLaboklab(53.19% 0.1682 -0.0331)
OKLCHoklch(53.19% 0.171 348.9)
XYZxyz(22.6375, 13.2100, 20.4225)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF367C #36AF69
analogous
#A536AF #AF367C #AF3640
triadic
#AF367C #7CAF36 #367CAF
tetradic
#AF367C #AFA536 #36AF69 #3640AF
square
#AF367C #AFA536 #36AF69 #3640AF
split-complementary
#AF367C #40AF36 #36AFA5
monochromatic
#51193A #80285B #AF367C #CB579A #DA86B6

Accessibility & contrast

On white

5.77
#AF367C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF367C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF367C
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF367C#FFFFFF#000000##FFFFFF
##AF367C1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47587E
Deuteranopia (green-blind)
#6A6E79
Tritanopia (blue-blind)
#BB3154
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af367c;
/* rgb */ color: rgb(175, 54, 124);
/* oklch */ color: oklch(53.2% 0.171 348.9);
Tailwind
colors: {
  custom: {
    50: '#cb76a2',
    500: '#af367c',
    950: '#000000',
  },
}
SCSS
$custom: #af367c;
$custom-light: #cb76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af367c",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 325.289,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5319,
    "c": 0.17141,
    "h": 348.9
  },
  "luminance": 0.13208
}

Semantic roles & 50–950 ramp

primary
#AF367C
secondary
#7DC39B
accent
#DC894C
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AF367C

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

Preview Lab → · Contrast checker → · Palette generator →

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