#AF386C#AF386C

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

Color values

HEX#AF386C
RGBrgb(175, 56, 108)
HSLhsl(334, 52%, 45%)
HSVhsv(334, 68%, 69%)
CMYKcmyk(0%, 68%, 38.3%, 31.4%)
CIE-LABlab(42.80, 52.60, -3.16)
CIE-LCHlch(42.80, 52.69, 356.57°)
OKLaboklab(52.81% 0.1611 -0.0076)
OKLCHoklch(52.81% 0.161 357.3)
XYZxyz(21.8015, 13.0276, 15.5509)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF386C #38AF7B
analogous
#AF38A7 #AF386C #AF4038
triadic
#AF386C #6CAF38 #386CAF
tetradic
#AF386C #A7AF38 #38AF7B #4038AF
square
#AF386C #A7AF38 #38AF7B #4038AF
split-complementary
#AF386C #38AF40 #38A7AF
monochromatic
#521A33 #81294F #AF386C #CA5A8B #D988AC

Accessibility & contrast

On white

5.83
#AF386C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF386C
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF386C#FFFFFF#000000##FFFFFF
##AF386C1.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E576D
Deuteranopia (green-blind)
#6E6D69
Tritanopia (blue-blind)
#BD2C4D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af386c;
/* rgb */ color: rgb(175, 56, 108);
/* oklch */ color: oklch(52.8% 0.161 357.3);
Tailwind
colors: {
  custom: {
    50: '#cb7796',
    500: '#af386c',
    950: '#000000',
  },
}
SCSS
$custom: #af386c;
$custom-light: #cb7796;
$custom-dark: #000000;
JSON
{
  "hex": "#af386c",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 108
  },
  "hsl": {
    "h": 333.782,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52807,
    "c": 0.16123,
    "h": 357.3
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

primary
#AF386C
secondary
#80C3A6
accent
#DB9D4D
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF386C

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

Preview Lab → · Contrast checker → · Palette generator →

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