#AF4076#AF4076

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

Color values

HEX#AF4076
RGBrgb(175, 64, 118)
HSLhsl(331, 46%, 47%)
HSVhsv(331, 63%, 69%)
CMYKcmyk(0%, 63.4%, 32.6%, 31.4%)
CIE-LABlab(44.36, 50.41, -7.01)
CIE-LCHlch(44.36, 50.90, 352.08°)
OKLaboklab(54.07% 0.1537 -0.0179)
OKLCHoklch(54.07% 0.155 353.4)
XYZxyz(22.7838, 14.0912, 18.6560)
Luminance0.1409 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4076 #40AF79
analogous
#AF40AE #AF4076 #AF4240
triadic
#AF4076 #76AF40 #4076AF
tetradic
#AF4076 #AEAF40 #40AF79 #4240AF
square
#AF4076 #AEAF40 #40AF79 #4240AF
split-complementary
#AF4076 #40AF42 #40AEAF
monochromatic
#551F3A #823058 #AF4076 #C76595 #D792B4

Accessibility & contrast

On white

5.50
#AF4076 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF4076
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4076#FFFFFF#000000##FFFFFF
##AF40761.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4076;
/* rgb */ color: rgb(175, 64, 118);
/* oklch */ color: oklch(54.1% 0.155 353.4);
Tailwind
colors: {
  custom: {
    50: '#cb7b9d',
    500: '#af4076',
    950: '#000000',
  },
}
SCSS
$custom: #af4076;
$custom-light: #cb7b9d;
$custom-dark: #000000;
JSON
{
  "hex": "#af4076",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 118
  },
  "hsl": {
    "h": 330.811,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54067,
    "c": 0.1547,
    "h": 353.4
  },
  "luminance": 0.14089
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4076

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

Preview Lab → · Contrast checker → · Palette generator →

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