#AF326E#AF326E

#AF326E is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.170 H 355.3°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF326E
RGBrgb(175, 50, 110)
HSLhsl(331, 56%, 44%)
HSVhsv(331, 71%, 69%)
CMYKcmyk(0%, 71.4%, 37.1%, 31.4%)
CIE-LABlab(42.04, 55.13, -5.54)
CIE-LCHlch(42.04, 55.41, 354.27°)
OKLaboklab(52.26% 0.169 -0.0139)
OKLCHoklch(52.26% 0.17 355.3)
XYZxyz(21.6356, 12.5235, 16.0268)
Luminance0.1252 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF326E #32AF73
analogous
#AF32AD #AF326E #AF3432
triadic
#AF326E #6EAF32 #326EAF
tetradic
#AF326E #ADAF32 #32AF73 #3432AF
square
#AF326E #ADAF32 #32AF73 #3432AF
split-complementary
#AF326E #32AF34 #32ADAF
monochromatic
#501732 #7F2450 #AF326E #CD518D #DB81AC

Accessibility & contrast

On white

5.99
#AF326E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AF326E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF326E
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF326E#FFFFFF#000000##FFFFFF
##AF326E1.005.993.505.99
#FFFFFF5.991.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495470
Deuteranopia (green-blind)
#6C6C6B
Tritanopia (blue-blind)
#BD264C
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af326e;
/* rgb */ color: rgb(175, 50, 110);
/* oklch */ color: oklch(52.3% 0.170 355.3);
Tailwind
colors: {
  custom: {
    50: '#cb7497',
    500: '#af326e',
    950: '#000000',
  },
}
SCSS
$custom: #af326e;
$custom-light: #cb7497;
$custom-dark: #000000;
JSON
{
  "hex": "#af326e",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 110
  },
  "hsl": {
    "h": 331.2,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52262,
    "c": 0.16956,
    "h": 355.3
  },
  "luminance": 0.12521
}

Semantic roles & 50–950 ramp

primary
#AF326E
secondary
#79C4A0
accent
#DF9749
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF326E

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

Preview Lab → · Contrast checker → · Palette generator →

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