#AF367D#AF367D

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

Color values

HEX#AF367D
RGBrgb(175, 54, 125)
HSLhsl(325, 53%, 45%)
HSVhsv(325, 69%, 69%)
CMYKcmyk(0%, 69.1%, 28.6%, 31.4%)
CIE-LABlab(43.12, 55.41, -13.18)
CIE-LCHlch(43.12, 56.96, 346.62°)
OKLaboklab(53.23% 0.1684 -0.0346)
OKLCHoklch(53.23% 0.172 348.4)
XYZxyz(22.7011, 13.2354, 20.7572)
Luminance0.1323 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF367D #36AF68
analogous
#A436AF #AF367D #AF3641
triadic
#AF367D #7DAF36 #367DAF
tetradic
#AF367D #AFA436 #36AF68 #3641AF
square
#AF367D #AFA436 #36AF68 #3641AF
split-complementary
#AF367D #41AF36 #36AFA4
monochromatic
#51193A #80285C #AF367D #CB579B #DA86B7

Accessibility & contrast

On white

5.76
#AF367D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#AF367D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF367D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF367D#FFFFFF#000000##FFFFFF
##AF367D1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46587F
Deuteranopia (green-blind)
#696E7A
Tritanopia (blue-blind)
#BB3155
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af367d;
/* rgb */ color: rgb(175, 54, 125);
/* oklch */ color: oklch(53.2% 0.172 348.4);
Tailwind
colors: {
  custom: {
    50: '#cb76a2',
    500: '#af367d',
    950: '#000000',
  },
}
SCSS
$custom: #af367d;
$custom-light: #cb76a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af367d",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 125
  },
  "hsl": {
    "h": 324.793,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53231,
    "c": 0.17196,
    "h": 348.4
  },
  "luminance": 0.13233
}

Semantic roles & 50–950 ramp

primary
#AF367D
secondary
#7DC39A
accent
#DC874C
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF367D

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

Preview Lab → · Contrast checker → · Palette generator →

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