#AF386F#AF386F

#AF386F is a mid, vivid pink. Relative luminance 0.131; OKLCH L 52.9% C 0.162 H 355.7°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF386F
RGBrgb(175, 56, 111)
HSLhsl(332, 52%, 45%)
HSVhsv(332, 68%, 69%)
CMYKcmyk(0%, 68%, 36.6%, 31.4%)
CIE-LABlab(42.90, 52.94, -4.87)
CIE-LCHlch(42.90, 53.16, 354.74°)
OKLaboklab(52.91% 0.162 -0.0122)
OKLCHoklch(52.91% 0.162 355.7)
XYZxyz(21.9639, 13.0925, 16.4063)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF386F #38AF78
analogous
#AF38AA #AF386F #AF3D38
triadic
#AF386F #6FAF38 #386FAF
tetradic
#AF386F #AAAF38 #38AF78 #3D38AF
square
#AF386F #AAAF38 #38AF78 #3D38AF
split-complementary
#AF386F #38AF3D #38AAAF
monochromatic
#521A34 #812952 #AF386F #CA5A8E #D988AE

Accessibility & contrast

On white

5.80
#AF386F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF386F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF386F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF386F#FFFFFF#000000##FFFFFF
##AF386F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5771
Deuteranopia (green-blind)
#6E6D6C
Tritanopia (blue-blind)
#BD2D4F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af386f;
/* rgb */ color: rgb(175, 56, 111);
/* oklch */ color: oklch(52.9% 0.162 355.7);
Tailwind
colors: {
  custom: {
    50: '#cb7798',
    500: '#af386f',
    950: '#000000',
  },
}
SCSS
$custom: #af386f;
$custom-light: #cb7798;
$custom-dark: #000000;
JSON
{
  "hex": "#af386f",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 111
  },
  "hsl": {
    "h": 332.269,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52911,
    "c": 0.16247,
    "h": 355.7
  },
  "luminance": 0.1309
}

Semantic roles & 50–950 ramp

primary
#AF386F
secondary
#80C3A4
accent
#DB994D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF386F

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

Preview Lab → · Contrast checker → · Palette generator →

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