#AF396E#AF396E

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

Color values

HEX#AF396E
RGBrgb(175, 57, 110)
HSLhsl(333, 51%, 45%)
HSVhsv(333, 67%, 69%)
CMYKcmyk(0%, 67.4%, 37.1%, 31.4%)
CIE-LABlab(43.02, 52.42, -4.08)
CIE-LCHlch(43.02, 52.58, 355.55°)
OKLaboklab(52.98% 0.1604 -0.0101)
OKLCHoklch(52.98% 0.161 356.4)
XYZxyz(21.9581, 13.1685, 16.1343)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF396E #39AF7A
analogous
#AF39A9 #AF396E #AF3F39
triadic
#AF396E #6EAF39 #396EAF
tetradic
#AF396E #A9AF39 #39AF7A #3F39AF
square
#AF396E #A9AF39 #39AF7A #3F39AF
split-complementary
#AF396E #39AF3F #39A9AF
monochromatic
#531B34 #812A51 #AF396E #CA5B8D #D98AAD

Accessibility & contrast

On white

5.78
#AF396E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF396E
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF396E#FFFFFF#000000##FFFFFF
##AF396E1.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E586F
Deuteranopia (green-blind)
#6E6E6B
Tritanopia (blue-blind)
#BD2E4F
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af396e;
/* rgb */ color: rgb(175, 57, 110);
/* oklch */ color: oklch(53.0% 0.161 356.4);
Tailwind
colors: {
  custom: {
    50: '#cb7797',
    500: '#af396e',
    950: '#000000',
  },
}
SCSS
$custom: #af396e;
$custom-light: #cb7797;
$custom-dark: #000000;
JSON
{
  "hex": "#af396e",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 110
  },
  "hsl": {
    "h": 333.051,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52984,
    "c": 0.16074,
    "h": 356.4
  },
  "luminance": 0.13166
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF396E

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

Preview Lab → · Contrast checker → · Palette generator →

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