#AF369B#AF369B

#AF369B is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.192 H 335.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AF369B
RGBrgb(175, 54, 155)
HSLhsl(310, 53%, 45%)
HSVhsv(310, 69%, 69%)
CMYKcmyk(0%, 69.1%, 11.4%, 31.4%)
CIE-LABlab(44.41, 59.63, -29.40)
CIE-LCHlch(44.41, 66.48, 333.75°)
OKLaboklab(54.59% 0.1739 -0.0802)
OKLCHoklch(54.59% 0.192 335.2)
XYZxyz(24.9150, 14.1210, 32.4174)
Luminance0.1412 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF369B #36AF4A
analogous
#8636AF #AF369B #AF365F
triadic
#AF369B #9BAF36 #369BAF
tetradic
#AF369B #AF8636 #36AF4A #365FAF
square
#AF369B #AF8636 #36AF4A #365FAF
split-complementary
#AF369B #5FAF36 #36AF86
monochromatic
#511948 #802872 #AF369B #CB57B8 #DA86CC

Accessibility & contrast

On white

5.49
#AF369B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF369B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF369B
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF369B#FFFFFF#000000##FFFFFF
##AF369B1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365D9E
Deuteranopia (green-blind)
#5F6F98
Tritanopia (blue-blind)
#B83F64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af369b;
/* rgb */ color: rgb(175, 54, 155);
/* oklch */ color: oklch(54.6% 0.192 335.2);
Tailwind
colors: {
  custom: {
    50: '#ca77b9',
    500: '#af369b',
    950: '#000000',
  },
}
SCSS
$custom: #af369b;
$custom-light: #ca77b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af369b",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 155
  },
  "hsl": {
    "h": 309.917,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54593,
    "c": 0.1915,
    "h": 335.2
  },
  "luminance": 0.14119
}

Semantic roles & 50–950 ramp

primary
#AF369B
secondary
#7DC389
accent
#DC634C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF369B

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

Preview Lab → · Contrast checker → · Palette generator →

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