#AF368F#AF368F

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

Color values

HEX#AF368F
RGBrgb(175, 54, 143)
HSLhsl(316, 53%, 45%)
HSVhsv(316, 69%, 69%)
CMYKcmyk(0%, 69.1%, 18.3%, 31.4%)
CIE-LABlab(43.85, 57.85, -23.03)
CIE-LCHlch(43.85, 62.26, 338.29°)
OKLaboklab(54.01% 0.1722 -0.0621)
OKLCHoklch(54.01% 0.183 340.2)
XYZxyz(23.9569, 13.7377, 27.3712)
Luminance0.1373 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF368F #36AF56
analogous
#9336AF #AF368F #AF3652
triadic
#AF368F #8FAF36 #368FAF
tetradic
#AF368F #AF9336 #36AF56 #3652AF
square
#AF368F #AF9336 #36AF56 #3652AF
split-complementary
#AF368F #52AF36 #36AF93
monochromatic
#511943 #802869 #AF368F #CB57AC #DA86C3

Accessibility & contrast

On white

5.60
#AF368F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF368F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF368F
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF368F#FFFFFF#000000##FFFFFF
##AF368F1.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B92
Deuteranopia (green-blind)
#646F8C
Tritanopia (blue-blind)
#B9395E
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af368f;
/* rgb */ color: rgb(175, 54, 143);
/* oklch */ color: oklch(54.0% 0.183 340.2);
Tailwind
colors: {
  custom: {
    50: '#ca77b0',
    500: '#af368f',
    950: '#000000',
  },
}
SCSS
$custom: #af368f;
$custom-light: #ca77b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af368f",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 315.868,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.54012,
    "c": 0.18306,
    "h": 340.2
  },
  "luminance": 0.13735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF368F

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

Preview Lab → · Contrast checker → · Palette generator →

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