#AF4074#AF4074

#AF4074 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.0% C 0.154 H 354.4°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF4074
RGBrgb(175, 64, 116)
HSLhsl(332, 46%, 47%)
HSVhsv(332, 63%, 69%)
CMYKcmyk(0%, 63.4%, 33.7%, 31.4%)
CIE-LABlab(44.30, 50.17, -5.88)
CIE-LCHlch(44.30, 50.51, 353.31°)
OKLaboklab(54% 0.153 -0.0149)
OKLCHoklch(54% 0.154 354.4)
XYZxyz(22.6662, 14.0441, 18.0367)
Luminance0.1404 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4074 #40AF7B
analogous
#AF40AC #AF4074 #AF4440
triadic
#AF4074 #74AF40 #4074AF
tetradic
#AF4074 #ACAF40 #40AF7B #4440AF
square
#AF4074 #ACAF40 #40AF7B #4440AF
split-complementary
#AF4074 #40AF44 #40ACAF
monochromatic
#551F39 #823056 #AF4074 #C76593 #D792B3

Accessibility & contrast

On white

5.51
#AF4074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF4074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4074
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4074#FFFFFF#000000##FFFFFF
##AF40741.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525C76
Deuteranopia (green-blind)
#707071
Tritanopia (blue-blind)
#BC3855
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4074;
/* rgb */ color: rgb(175, 64, 116);
/* oklch */ color: oklch(54.0% 0.154 354.4);
Tailwind
colors: {
  custom: {
    50: '#cb7b9c',
    500: '#af4074',
    950: '#000000',
  },
}
SCSS
$custom: #af4074;
$custom-light: #cb7b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4074",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 331.892,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53995,
    "c": 0.15376,
    "h": 354.4
  },
  "luminance": 0.14042
}

Semantic roles & 50–950 ramp

primary
#AF4074
secondary
#88C3A7
accent
#D69852
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4074

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

Preview Lab → · Contrast checker → · Palette generator →

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