#AF4397#AF4397

#AF4397 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.171 H 337.3°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF4397
RGBrgb(175, 67, 151)
HSLhsl(313, 45%, 47%)
HSVhsv(313, 62%, 69%)
CMYKcmyk(0%, 61.7%, 13.7%, 31.4%)
CIE-LABlab(46.13, 53.72, -24.32)
CIE-LCHlch(46.13, 58.97, 335.64°)
OKLaboklab(55.79% 0.1577 -0.0658)
OKLCHoklch(55.79% 0.171 337.3)
XYZxyz(25.2726, 15.3647, 30.9068)
Luminance0.1536 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4397 #43AF5B
analogous
#9143AF #AF4397 #AF4361
triadic
#AF4397 #97AF43 #4397AF
tetradic
#AF4397 #AF9143 #43AF5B #4361AF
square
#AF4397 #AF9143 #43AF5B #4361AF
split-complementary
#AF4397 #61AF43 #43AF91
monochromatic
#56214B #833271 #AF4397 #C669B1 #D796C8

Accessibility & contrast

On white

5.16
#AF4397 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF4397 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4397
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4397#FFFFFF#000000##FFFFFF
##AF43971.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46639A
Deuteranopia (green-blind)
#677394
Tritanopia (blue-blind)
#B84867
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4397;
/* rgb */ color: rgb(175, 67, 151);
/* oklch */ color: oklch(55.8% 0.171 337.3);
Tailwind
colors: {
  custom: {
    50: '#ca7eb6',
    500: '#af4397',
    950: '#000000',
  },
}
SCSS
$custom: #af4397;
$custom-light: #ca7eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4397",
  "rgb": {
    "r": 175,
    "g": 67,
    "b": 151
  },
  "hsl": {
    "h": 313.333,
    "s": 44.628,
    "l": 47.451
  },
  "oklch": {
    "l": 0.55789,
    "c": 0.17086,
    "h": 337.3
  },
  "luminance": 0.15363
}

Semantic roles & 50–950 ramp

primary
#AF4397
secondary
#8BC298
accent
#D47053
background
#FCF8FB
surface
#F9EFF6
border
#D2CAD0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4397

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

Preview Lab → · Contrast checker → · Palette generator →

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