#AF468C#AF468C

#AF468C is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.7% C 0.159 H 342.7°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF468C
RGBrgb(175, 70, 140)
HSLhsl(320, 43%, 48%)
HSVhsv(320, 60%, 69%)
CMYKcmyk(0%, 60%, 20%, 31.4%)
CIE-LABlab(46.16, 50.71, -17.66)
CIE-LCHlch(46.16, 53.70, 340.80°)
OKLaboklab(55.66% 0.1514 -0.0471)
OKLCHoklch(55.66% 0.159 342.7)
XYZxyz(24.6036, 15.3899, 26.4806)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF468C #46AF69
analogous
#9D46AF #AF468C #AF4657
triadic
#AF468C #8CAF46 #468CAF
tetradic
#AF468C #AF9D46 #46AF69 #4657AF
square
#AF468C #AF9D46 #46AF69 #4657AF
split-complementary
#AF468C #57AF46 #46AF9D
monochromatic
#582346 #833569 #AF468C #C56DA8 #D699C2

Accessibility & contrast

On white

5.15
#AF468C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF468C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF468C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF468C#FFFFFF#000000##FFFFFF
##AF468C1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628E
Deuteranopia (green-blind)
#6C7489
Tritanopia (blue-blind)
#B94663
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af468c;
/* rgb */ color: rgb(175, 70, 140);
/* oklch */ color: oklch(55.7% 0.159 342.7);
Tailwind
colors: {
  custom: {
    50: '#ca7fad',
    500: '#af468c',
    950: '#000000',
  },
}
SCSS
$custom: #af468c;
$custom-light: #ca7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#af468c",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 140
  },
  "hsl": {
    "h": 320,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.15855,
    "h": 342.7
  },
  "luminance": 0.15388
}

Semantic roles & 50–950 ramp

primary
#AF468C
secondary
#8EC2A0
accent
#D37F55
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF468C

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

Preview Lab → · Contrast checker → · Palette generator →

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