#AF4077#AF4077

#AF4077 is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.1% C 0.155 H 352.8°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AF4077
RGBrgb(175, 64, 119)
HSLhsl(330, 46%, 47%)
HSVhsv(330, 63%, 69%)
CMYKcmyk(0%, 63.4%, 32%, 31.4%)
CIE-LABlab(44.40, 50.54, -7.57)
CIE-LCHlch(44.40, 51.10, 351.48°)
OKLaboklab(54.1% 0.154 -0.0194)
OKLCHoklch(54.1% 0.155 352.8)
XYZxyz(22.8435, 14.1151, 18.9707)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4077 #40AF78
analogous
#AF40AF #AF4077 #AF4040
triadic
#AF4077 #77AF40 #4077AF
tetradic
#AF4077 #AFAF40 #40AF78 #4040AF
square
#AF4077 #AFAF40 #40AF78 #4040AF
split-complementary
#AF4077 #40AF40 #40AFAF
monochromatic
#551F3A #823059 #AF4077 #C76596 #D792B4

Accessibility & contrast

On white

5.49
#AF4077 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF4077 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4077
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4077#FFFFFF#000000##FFFFFF
##AF40771.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515C79
Deuteranopia (green-blind)
#6F7074
Tritanopia (blue-blind)
#BC3956
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4077;
/* rgb */ color: rgb(175, 64, 119);
/* oklch */ color: oklch(54.1% 0.155 352.8);
Tailwind
colors: {
  custom: {
    50: '#cb7b9e',
    500: '#af4077',
    950: '#000000',
  },
}
SCSS
$custom: #af4077;
$custom-light: #cb7b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#af4077",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 119
  },
  "hsl": {
    "h": 330.27,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54104,
    "c": 0.15518,
    "h": 352.8
  },
  "luminance": 0.14113
}

Semantic roles & 50–950 ramp

primary
#AF4077
secondary
#88C3A6
accent
#D69452
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0E
muted
#827C7E

Preview Lab

Preview with #AF4077

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

Preview Lab → · Contrast checker → · Palette generator →

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