#AF368B#AF368B

#AF368B is a mid, vivid pink. Relative luminance 0.136; OKLCH L 53.8% C 0.180 H 341.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#AF368B
RGBrgb(175, 54, 139)
HSLhsl(318, 53%, 45%)
HSVhsv(318, 69%, 69%)
CMYKcmyk(0%, 69.1%, 20.6%, 31.4%)
CIE-LABlab(43.68, 57.28, -20.87)
CIE-LCHlch(43.68, 60.96, 339.98°)
OKLaboklab(53.83% 0.1715 -0.056)
OKLCHoklch(53.83% 0.18 341.9)
XYZxyz(23.6593, 13.6187, 25.8037)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF368B #36AF5A
analogous
#9636AF #AF368B #AF364F
triadic
#AF368B #8BAF36 #368BAF
tetradic
#AF368B #AF9636 #36AF5A #364FAF
square
#AF368B #AF9636 #36AF5A #364FAF
split-complementary
#AF368B #4FAF36 #36AF96
monochromatic
#511941 #802866 #AF368B #CB57A9 #DA86C1

Accessibility & contrast

On white

5.64
#AF368B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#AF368B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF368B
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF368B#FFFFFF#000000##FFFFFF
##AF368B1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405B8D
Deuteranopia (green-blind)
#656E88
Tritanopia (blue-blind)
#BA375C
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af368b;
/* rgb */ color: rgb(175, 54, 139);
/* oklch */ color: oklch(53.8% 0.180 341.9);
Tailwind
colors: {
  custom: {
    50: '#ca77ad',
    500: '#af368b',
    950: '#000000',
  },
}
SCSS
$custom: #af368b;
$custom-light: #ca77ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af368b",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 139
  },
  "hsl": {
    "h": 317.851,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53829,
    "c": 0.18041,
    "h": 341.9
  },
  "luminance": 0.13616
}

Semantic roles & 50–950 ramp

primary
#AF368B
secondary
#7DC392
accent
#DC774C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF368B

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

Preview Lab → · Contrast checker → · Palette generator →

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