#AF368A#AF368A

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

Color values

HEX#AF368A
RGBrgb(175, 54, 138)
HSLhsl(318, 53%, 45%)
HSVhsv(318, 69%, 69%)
CMYKcmyk(0%, 69.1%, 21.1%, 31.4%)
CIE-LABlab(43.64, 57.14, -20.33)
CIE-LCHlch(43.64, 60.65, 340.42°)
OKLaboklab(53.78% 0.1713 -0.0545)
OKLCHoklch(53.78% 0.18 342.4)
XYZxyz(23.5865, 13.5896, 25.4207)
Luminance0.1359 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF368A #36AF5B
analogous
#9736AF #AF368A #AF364E
triadic
#AF368A #8AAF36 #368AAF
tetradic
#AF368A #AF9736 #36AF5B #364EAF
square
#AF368A #AF9736 #36AF5B #364EAF
split-complementary
#AF368A #4EAF36 #36AF97
monochromatic
#511940 #802865 #AF368A #CB57A8 #DA86C0

Accessibility & contrast

On white

5.65
#AF368A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF368A
5.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF368A#FFFFFF#000000##FFFFFF
##AF368A1.005.653.725.65
#FFFFFF5.651.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405A8C
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#BA375B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af368a;
/* rgb */ color: rgb(175, 54, 138);
/* oklch */ color: oklch(53.8% 0.180 342.4);
Tailwind
colors: {
  custom: {
    50: '#ca77ac',
    500: '#af368a',
    950: '#000000',
  },
}
SCSS
$custom: #af368a;
$custom-light: #ca77ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af368a",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 318.347,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53784,
    "c": 0.17977,
    "h": 342.4
  },
  "luminance": 0.13587
}

Semantic roles & 50–950 ramp

primary
#AF368A
secondary
#7DC393
accent
#DC784C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF368A

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

Preview Lab → · Contrast checker → · Palette generator →

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