#AF368D#AF368D

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

Color values

HEX#AF368D
RGBrgb(175, 54, 141)
HSLhsl(317, 53%, 45%)
HSVhsv(317, 69%, 69%)
CMYKcmyk(0%, 69.1%, 19.4%, 31.4%)
CIE-LABlab(43.77, 57.56, -21.95)
CIE-LCHlch(43.77, 61.60, 339.13°)
OKLaboklab(53.92% 0.1719 -0.059)
OKLCHoklch(53.92% 0.182 341)
XYZxyz(23.8067, 13.6777, 26.5804)
Luminance0.1368 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF368D #36AF58
analogous
#9536AF #AF368D #AF3650
triadic
#AF368D #8DAF36 #368DAF
tetradic
#AF368D #AF9536 #36AF58 #3650AF
square
#AF368D #AF9536 #36AF58 #3650AF
split-complementary
#AF368D #50AF36 #36AF95
monochromatic
#511942 #802867 #AF368D #CB57AB #DA86C2

Accessibility & contrast

On white

5.62
#AF368D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF368D
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF368D#FFFFFF#000000##FFFFFF
##AF368D1.005.623.745.62
#FFFFFF5.621.0021.001.00
#0000003.7421.001.0021.00
##FFFFFF5.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5B8F
Deuteranopia (green-blind)
#646F8A
Tritanopia (blue-blind)
#B9385D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af368d;
/* rgb */ color: rgb(175, 54, 141);
/* oklch */ color: oklch(53.9% 0.182 341.0);
Tailwind
colors: {
  custom: {
    50: '#ca77ae',
    500: '#af368d',
    950: '#000000',
  },
}
SCSS
$custom: #af368d;
$custom-light: #ca77ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af368d",
  "rgb": {
    "r": 175,
    "g": 54,
    "b": 141
  },
  "hsl": {
    "h": 316.86,
    "s": 52.838,
    "l": 44.902
  },
  "oklch": {
    "l": 0.5392,
    "c": 0.18173,
    "h": 341
  },
  "luminance": 0.13675
}

Semantic roles & 50–950 ramp

primary
#AF368D
secondary
#7DC391
accent
#DC744C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF368D

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

Preview Lab → · Contrast checker → · Palette generator →

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