#AF426F#AF426F

#AF426F is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.1% C 0.149 H 357.6°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF426F
RGBrgb(175, 66, 111)
HSLhsl(335, 45%, 47%)
HSVhsv(335, 62%, 69%)
CMYKcmyk(0%, 62.3%, 36.6%, 31.4%)
CIE-LABlab(44.46, 48.68, -2.56)
CIE-LCHlch(44.46, 48.75, 356.99°)
OKLaboklab(54.07% 0.1486 -0.0061)
OKLCHoklch(54.07% 0.149 357.6)
XYZxyz(22.4979, 14.1606, 16.5843)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF426F #42AF82
analogous
#AF42A6 #AF426F #AF4B42
triadic
#AF426F #6FAF42 #426FAF
tetradic
#AF426F #A6AF42 #42AF82 #4B42AF
square
#AF426F #A6AF42 #42AF82 #4B42AF
split-complementary
#AF426F #42AF4B #42A6AF
monochromatic
#562037 #833153 #AF426F #C6688F #D795B0

Accessibility & contrast

On white

5.48
#AF426F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF426F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF426F
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF426F#FFFFFF#000000##FFFFFF
##AF426F1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555C70
Deuteranopia (green-blind)
#72716C
Tritanopia (blue-blind)
#BC3954
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af426f;
/* rgb */ color: rgb(175, 66, 111);
/* oklch */ color: oklch(54.1% 0.149 357.6);
Tailwind
colors: {
  custom: {
    50: '#cb7c98',
    500: '#af426f',
    950: '#000000',
  },
}
SCSS
$custom: #af426f;
$custom-light: #cb7c98;
$custom-dark: #000000;
JSON
{
  "hex": "#af426f",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 111
  },
  "hsl": {
    "h": 335.229,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54066,
    "c": 0.14877,
    "h": 357.6
  },
  "luminance": 0.14158
}

Semantic roles & 50–950 ramp

primary
#AF426F
secondary
#8AC2AB
accent
#D59F53
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF426F

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

Preview Lab → · Contrast checker → · Palette generator →

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