#AF396C#AF396C

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

Color values

HEX#AF396C
RGBrgb(175, 57, 108)
HSLhsl(334, 51%, 45%)
HSVhsv(334, 67%, 69%)
CMYKcmyk(0%, 67.4%, 38.3%, 31.4%)
CIE-LABlab(42.95, 52.20, -2.94)
CIE-LCHlch(42.95, 52.28, 356.78°)
OKLaboklab(52.92% 0.1598 -0.0071)
OKLCHoklch(52.92% 0.16 357.5)
XYZxyz(21.8505, 13.1255, 15.5672)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF396C #39AF7C
analogous
#AF39A7 #AF396C #AF4139
triadic
#AF396C #6CAF39 #396CAF
tetradic
#AF396C #A7AF39 #39AF7C #4139AF
square
#AF396C #A7AF39 #39AF7C #4139AF
split-complementary
#AF396C #39AF41 #39A7AF
monochromatic
#531B33 #812A50 #AF396C #CA5B8B #D98AAC

Accessibility & contrast

On white

5.79
#AF396C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF396C
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF396C#FFFFFF#000000##FFFFFF
##AF396C1.005.793.625.79
#FFFFFF5.791.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af396c;
/* rgb */ color: rgb(175, 57, 108);
/* oklch */ color: oklch(52.9% 0.160 357.5);
Tailwind
colors: {
  custom: {
    50: '#cb7796',
    500: '#af396c',
    950: '#000000',
  },
}
SCSS
$custom: #af396c;
$custom-light: #cb7796;
$custom-dark: #000000;
JSON
{
  "hex": "#af396c",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 108
  },
  "hsl": {
    "h": 334.068,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52915,
    "c": 0.15993,
    "h": 357.5
  },
  "luminance": 0.13123
}

Semantic roles & 50–950 ramp

primary
#AF396C
secondary
#81C3A6
accent
#DA9D4D
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF396C

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

Preview Lab → · Contrast checker → · Palette generator →

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