#AF397E#AF397E

#AF397E is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.6% C 0.169 H 348.2°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#AF397E
RGBrgb(175, 57, 126)
HSLhsl(325, 51%, 45%)
HSVhsv(325, 67%, 69%)
CMYKcmyk(0%, 67.4%, 28%, 31.4%)
CIE-LABlab(43.58, 54.36, -13.09)
CIE-LCHlch(43.58, 55.92, 346.46°)
OKLaboklab(53.58% 0.165 -0.0344)
OKLCHoklch(53.58% 0.169 348.2)
XYZxyz(22.9092, 13.5490, 21.1433)
Luminance0.1355 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF397E #39AF6A
analogous
#A539AF #AF397E #AF3943
triadic
#AF397E #7EAF39 #397EAF
tetradic
#AF397E #AFA539 #39AF6A #3943AF
square
#AF397E #AFA539 #39AF6A #3943AF
split-complementary
#AF397E #43AF39 #39AFA5
monochromatic
#531B3C #812A5D #AF397E #CA5B9C #D98AB8

Accessibility & contrast

On white

5.66
#AF397E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#AF397E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF397E
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF397E#FFFFFF#000000##FFFFFF
##AF397E1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485A80
Deuteranopia (green-blind)
#6A6F7B
Tritanopia (blue-blind)
#BB3556
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af397e;
/* rgb */ color: rgb(175, 57, 126);
/* oklch */ color: oklch(53.6% 0.169 348.2);
Tailwind
colors: {
  custom: {
    50: '#cb78a3',
    500: '#af397e',
    950: '#000000',
  },
}
SCSS
$custom: #af397e;
$custom-light: #cb78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af397e",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 324.915,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53583,
    "c": 0.16858,
    "h": 348.2
  },
  "luminance": 0.13547
}

Semantic roles & 50–950 ramp

primary
#AF397E
secondary
#81C39C
accent
#DA884D
background
#FCF7FA
surface
#F9EEF3
border
#D2C9CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF397E

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

Preview Lab → · Contrast checker → · Palette generator →

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