#AF396F#AF396F

#AF396F is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.0% C 0.161 H 355.9°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#AF396F
RGBrgb(175, 57, 111)
HSLhsl(333, 51%, 45%)
HSVhsv(333, 67%, 69%)
CMYKcmyk(0%, 67.4%, 36.6%, 31.4%)
CIE-LABlab(43.05, 52.53, -4.65)
CIE-LCHlch(43.05, 52.74, 354.94°)
OKLaboklab(53.02% 0.1607 -0.0116)
OKLCHoklch(53.02% 0.161 355.9)
XYZxyz(22.0129, 13.1904, 16.4226)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF396F #39AF79
analogous
#AF39AA #AF396F #AF3E39
triadic
#AF396F #6FAF39 #396FAF
tetradic
#AF396F #AAAF39 #39AF79 #3E39AF
square
#AF396F #AAAF39 #39AF79 #3E39AF
split-complementary
#AF396F #39AF3E #39AAAF
monochromatic
#531B34 #812A52 #AF396F #CA5B8E #D98AAE

Accessibility & contrast

On white

5.77
#AF396F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#AF396F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF396F
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF396F#FFFFFF#000000##FFFFFF
##AF396F1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5871
Deuteranopia (green-blind)
#6E6E6C
Tritanopia (blue-blind)
#BD2F4F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af396f;
/* rgb */ color: rgb(175, 57, 111);
/* oklch */ color: oklch(53.0% 0.161 355.9);
Tailwind
colors: {
  custom: {
    50: '#cb7798',
    500: '#af396f',
    950: '#000000',
  },
}
SCSS
$custom: #af396f;
$custom-light: #cb7798;
$custom-dark: #000000;
JSON
{
  "hex": "#af396f",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 111
  },
  "hsl": {
    "h": 332.542,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53019,
    "c": 0.16116,
    "h": 355.9
  },
  "luminance": 0.13188
}

Semantic roles & 50–950 ramp

primary
#AF396F
secondary
#81C3A5
accent
#DA9A4D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF396F

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

Preview Lab → · Contrast checker → · Palette generator →

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