#AF368E#AF368E

#AF368E is a mid, vivid pink. Relative luminance 0.137; OKLCH L 54.0% C 0.182 H 340.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#AF368E
RGBrgb(175, 54, 142)
HSLhsl(316, 53%, 45%)
HSVhsv(316, 69%, 69%)
CMYKcmyk(0%, 69.1%, 18.9%, 31.4%)
CIE-LABlab(43.81, 57.70, -22.49)
CIE-LCHlch(43.81, 61.93, 338.71°)
OKLaboklab(53.97% 0.1721 -0.0605)
OKLCHoklch(53.97% 0.182 340.6)
XYZxyz(23.8815, 13.7076, 26.9740)
Luminance0.1371 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF368E #36AF57
analogous
#9436AF #AF368E #AF3651
triadic
#AF368E #8EAF36 #368EAF
tetradic
#AF368E #AF9436 #36AF57 #3651AF
square
#AF368E #AF9436 #36AF57 #3651AF
split-complementary
#AF368E #51AF36 #36AF94
monochromatic
#511942 #802868 #AF368E #CB57AB #DA86C3

Accessibility & contrast

On white

5.61
#AF368E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.74
#AF368E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF368E
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF368E#FFFFFF#000000##FFFFFF
##AF368E1.005.613.745.61
#FFFFFF5.611.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#646F8B
Tritanopia (blue-blind)
#B9395D
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af368e;
/* rgb */ color: rgb(175, 54, 142);
/* oklch */ color: oklch(54.0% 0.182 340.6);
Tailwind
colors: {
  custom: {
    50: '#ca77af',
    500: '#af368e',
    950: '#000000',
  },
}
SCSS
$custom: #af368e;
$custom-light: #ca77af;
$custom-dark: #000000;
JSON
{
  "hex": "#af368e",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 142
  },
  "hsl": {
    "h": 316.364,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53966,
    "c": 0.18239,
    "h": 340.6
  },
  "luminance": 0.13705
}

Semantic roles & 50–950 ramp

primary
#AF368E
secondary
#7DC390
accent
#DC734C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF368E

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

Preview Lab → · Contrast checker → · Palette generator →

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