#AF386D#AF386D

#AF386D is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.8% C 0.162 H 356.8°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#AF386D
RGBrgb(175, 56, 109)
HSLhsl(333, 52%, 45%)
HSVhsv(333, 68%, 69%)
CMYKcmyk(0%, 68%, 37.7%, 31.4%)
CIE-LABlab(42.84, 52.71, -3.73)
CIE-LCHlch(42.84, 52.84, 355.95°)
OKLaboklab(52.84% 0.1614 -0.0091)
OKLCHoklch(52.84% 0.162 356.8)
XYZxyz(21.8551, 13.0490, 15.8328)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF386D #38AF7A
analogous
#AF38A9 #AF386D #AF3E38
triadic
#AF386D #6DAF38 #386DAF
tetradic
#AF386D #A9AF38 #38AF7A #3E38AF
square
#AF386D #A9AF38 #38AF7A #3E38AF
split-complementary
#AF386D #38AF3E #38A9AF
monochromatic
#521A33 #812950 #AF386D #CA5A8C #D988AC

Accessibility & contrast

On white

5.82
#AF386D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF386D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF386D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF386D#FFFFFF#000000##FFFFFF
##AF386D1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E576E
Deuteranopia (green-blind)
#6E6D6A
Tritanopia (blue-blind)
#BD2D4E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af386d;
/* rgb */ color: rgb(175, 56, 109);
/* oklch */ color: oklch(52.8% 0.162 356.8);
Tailwind
colors: {
  custom: {
    50: '#cb7796',
    500: '#af386d',
    950: '#000000',
  },
}
SCSS
$custom: #af386d;
$custom-light: #cb7796;
$custom-dark: #000000;
JSON
{
  "hex": "#af386d",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 109
  },
  "hsl": {
    "h": 333.277,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52841,
    "c": 0.16163,
    "h": 356.8
  },
  "luminance": 0.13046
}

Semantic roles & 50–950 ramp

primary
#AF386D
secondary
#80C3A5
accent
#DB9C4D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF386D

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

Preview Lab → · Contrast checker → · Palette generator →

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