#AF386E#AF386E

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

Color values

HEX#AF386E
RGBrgb(175, 56, 110)
HSLhsl(333, 52%, 45%)
HSVhsv(333, 68%, 69%)
CMYKcmyk(0%, 68%, 37.1%, 31.4%)
CIE-LABlab(42.87, 52.82, -4.30)
CIE-LCHlch(42.87, 53.00, 355.35°)
OKLaboklab(52.88% 0.1617 -0.0106)
OKLCHoklch(52.88% 0.162 356.2)
XYZxyz(21.9092, 13.0706, 16.1179)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF386E #38AF79
analogous
#AF38A9 #AF386E #AF3D38
triadic
#AF386E #6EAF38 #386EAF
tetradic
#AF386E #A9AF38 #38AF79 #3D38AF
square
#AF386E #A9AF38 #38AF79 #3D38AF
split-complementary
#AF386E #38AF3D #38A9AF
monochromatic
#521A34 #812951 #AF386E #CA5A8D #D988AD

Accessibility & contrast

On white

5.81
#AF386E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF386E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF386E#FFFFFF#000000##FFFFFF
##AF386E1.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af386e;
/* rgb */ color: rgb(175, 56, 110);
/* oklch */ color: oklch(52.9% 0.162 356.2);
Tailwind
colors: {
  custom: {
    50: '#cb7797',
    500: '#af386e',
    950: '#000000',
  },
}
SCSS
$custom: #af386e;
$custom-light: #cb7797;
$custom-dark: #000000;
JSON
{
  "hex": "#af386e",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 110
  },
  "hsl": {
    "h": 332.773,
    "s": 51.515,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52876,
    "c": 0.16204,
    "h": 356.2
  },
  "luminance": 0.13068
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF386E

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

Preview Lab → · Contrast checker → · Palette generator →

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