#AF4075#AF4075

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

Color values

HEX#AF4075
RGBrgb(175, 64, 117)
HSLhsl(331, 46%, 47%)
HSVhsv(331, 63%, 69%)
CMYKcmyk(0%, 63.4%, 33.1%, 31.4%)
CIE-LABlab(44.33, 50.29, -6.45)
CIE-LCHlch(44.33, 50.70, 352.70°)
OKLaboklab(54.03% 0.1533 -0.0164)
OKLCHoklch(54.03% 0.154 353.9)
XYZxyz(22.7247, 14.0675, 18.3447)
Luminance0.1406 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4075 #40AF7A
analogous
#AF40AD #AF4075 #AF4240
triadic
#AF4075 #75AF40 #4075AF
tetradic
#AF4075 #ADAF40 #40AF7A #4240AF
square
#AF4075 #ADAF40 #40AF7A #4240AF
split-complementary
#AF4075 #40AF42 #40ADAF
monochromatic
#551F39 #823057 #AF4075 #C76594 #D792B3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4075#FFFFFF#000000##FFFFFF
##AF40751.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)
#515C77
Deuteranopia (green-blind)
#707072
Tritanopia (blue-blind)
#BC3955
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af4075;
/* rgb */ color: rgb(175, 64, 117);
/* oklch */ color: oklch(54.0% 0.154 353.9);
Tailwind
colors: {
  custom: {
    50: '#cb7b9c',
    500: '#af4075',
    950: '#000000',
  },
}
SCSS
$custom: #af4075;
$custom-light: #cb7b9c;
$custom-dark: #000000;
JSON
{
  "hex": "#af4075",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 117
  },
  "hsl": {
    "h": 331.351,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54031,
    "c": 0.15422,
    "h": 353.9
  },
  "luminance": 0.14065
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF4075

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

Preview Lab → · Contrast checker → · Palette generator →

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