#AF426E#AF426E

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

Color values

HEX#AF426E
RGBrgb(175, 66, 110)
HSLhsl(336, 45%, 47%)
HSVhsv(336, 62%, 69%)
CMYKcmyk(0%, 62.3%, 37.1%, 31.4%)
CIE-LABlab(44.43, 48.56, -1.99)
CIE-LCHlch(44.43, 48.60, 357.65°)
OKLaboklab(54.03% 0.1483 -0.0046)
OKLCHoklch(54.03% 0.148 358.2)
XYZxyz(22.4432, 14.1387, 16.2959)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF426E #42AF83
analogous
#AF42A4 #AF426E #AF4D42
triadic
#AF426E #6EAF42 #426EAF
tetradic
#AF426E #A4AF42 #42AF83 #4D42AF
square
#AF426E #A4AF42 #42AF83 #4D42AF
split-complementary
#AF426E #42AF4D #42A4AF
monochromatic
#562036 #833152 #AF426E #C6688E #D795AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF426E#FFFFFF#000000##FFFFFF
##AF426E1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555C6F
Deuteranopia (green-blind)
#72716B
Tritanopia (blue-blind)
#BD3853
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af426e;
/* rgb */ color: rgb(175, 66, 110);
/* oklch */ color: oklch(54.0% 0.148 358.2);
Tailwind
colors: {
  custom: {
    50: '#cb7c97',
    500: '#af426e',
    950: '#000000',
  },
}
SCSS
$custom: #af426e;
$custom-light: #cb7c97;
$custom-dark: #000000;
JSON
{
  "hex": "#af426e",
  "rgb": {
    "r": 175,
    "g": 66,
    "b": 110
  },
  "hsl": {
    "h": 335.78,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54032,
    "c": 0.14837,
    "h": 358.2
  },
  "luminance": 0.14136
}

Semantic roles & 50–950 ramp

primary
#AF426E
secondary
#8AC2AC
accent
#D5A053
background
#FCF7F9
surface
#F9EEF2
border
#D2C9CC
text
#140A0D
muted
#827C7E

Preview Lab

Preview with #AF426E

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

Preview Lab → · Contrast checker → · Palette generator →

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