#AF396D#AF396D

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

Color values

HEX#AF396D
RGBrgb(175, 57, 109)
HSLhsl(334, 51%, 45%)
HSVhsv(334, 67%, 69%)
CMYKcmyk(0%, 67.4%, 37.7%, 31.4%)
CIE-LABlab(42.98, 52.31, -3.51)
CIE-LCHlch(42.98, 52.43, 356.16°)
OKLaboklab(52.95% 0.1601 -0.0086)
OKLCHoklch(52.95% 0.16 356.9)
XYZxyz(21.9040, 13.1469, 15.8491)
Luminance0.1314 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF396D #39AF7B
analogous
#AF39A8 #AF396D #AF4039
triadic
#AF396D #6DAF39 #396DAF
tetradic
#AF396D #A8AF39 #39AF7B #4039AF
square
#AF396D #A8AF39 #39AF7B #4039AF
split-complementary
#AF396D #39AF40 #39A8AF
monochromatic
#531B33 #812A50 #AF396D #CA5B8C #D98AAD

Accessibility & contrast

On white

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

On black

3.63
#AF396D on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF396D#FFFFFF#000000##FFFFFF
##AF396D1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E576E
Deuteranopia (green-blind)
#6F6E6A
Tritanopia (blue-blind)
#BD2E4E
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af396d;
/* rgb */ color: rgb(175, 57, 109);
/* oklch */ color: oklch(52.9% 0.160 356.9);
Tailwind
colors: {
  custom: {
    50: '#cb7796',
    500: '#af396d',
    950: '#000000',
  },
}
SCSS
$custom: #af396d;
$custom-light: #cb7796;
$custom-dark: #000000;
JSON
{
  "hex": "#af396d",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 109
  },
  "hsl": {
    "h": 333.559,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52949,
    "c": 0.16033,
    "h": 356.9
  },
  "luminance": 0.13144
}

Semantic roles & 50–950 ramp

primary
#AF396D
secondary
#81C3A6
accent
#DA9C4D
background
#FDF7F9
surface
#FAEEF2
border
#D3C9CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF396D

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

Preview Lab → · Contrast checker → · Palette generator →

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