#AF386A#AF386A

#AF386A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.7% C 0.160 H 358.4°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AF386A
RGBrgb(175, 56, 106)
HSLhsl(335, 52%, 45%)
HSVhsv(335, 68%, 69%)
CMYKcmyk(0%, 68%, 39.4%, 31.4%)
CIE-LABlab(42.74, 52.38, -2.01)
CIE-LCHlch(42.74, 52.42, 357.80°)
OKLaboklab(52.74% 0.1604 -0.0046)
OKLCHoklch(52.74% 0.16 358.4)
XYZxyz(21.6963, 12.9855, 14.9968)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF386A #38AF7D
analogous
#AF38A5 #AF386A #AF4238
triadic
#AF386A #6AAF38 #386AAF
tetradic
#AF386A #A5AF38 #38AF7D #4238AF
square
#AF386A #A5AF38 #38AF7D #4238AF
split-complementary
#AF386A #38AF42 #38A5AF
monochromatic
#521A32 #81294E #AF386A #CA5A89 #D988AA

Accessibility & contrast

On white

5.84
#AF386A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF386A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF386A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF386A#FFFFFF#000000##FFFFFF
##AF386A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F576B
Deuteranopia (green-blind)
#6F6D67
Tritanopia (blue-blind)
#BD2B4C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af386a;
/* rgb */ color: rgb(175, 56, 106);
/* oklch */ color: oklch(52.7% 0.160 358.4);
Tailwind
colors: {
  custom: {
    50: '#cb7794',
    500: '#af386a',
    950: '#000000',
  },
}
SCSS
$custom: #af386a;
$custom-light: #cb7794;
$custom-dark: #000000;
JSON
{
  "hex": "#af386a",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 106
  },
  "hsl": {
    "h": 334.79,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52739,
    "c": 0.16046,
    "h": 358.4
  },
  "luminance": 0.12983
}

Semantic roles & 50–950 ramp

primary
#AF386A
secondary
#80C3A7
accent
#DB9F4D
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF386A

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

Preview Lab → · Contrast checker → · Palette generator →

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