#AF468E#AF468E

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

Color values

HEX#AF468E
RGBrgb(175, 70, 142)
HSLhsl(319, 43%, 48%)
HSVhsv(319, 60%, 69%)
CMYKcmyk(0%, 60%, 18.9%, 31.4%)
CIE-LABlab(46.24, 51.01, -18.74)
CIE-LCHlch(46.24, 54.34, 339.82°)
OKLaboklab(55.75% 0.1518 -0.0502)
OKLCHoklch(55.75% 0.16 341.7)
XYZxyz(24.7524, 15.4494, 27.2643)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF468E #46AF67
analogous
#9B46AF #AF468E #AF4659
triadic
#AF468E #8EAF46 #468EAF
tetradic
#AF468E #AF9B46 #46AF67 #4659AF
square
#AF468E #AF9B46 #46AF67 #4659AF
split-complementary
#AF468E #59AF46 #46AF9B
monochromatic
#582347 #83356B #AF468E #C56DA9 #D699C3

Accessibility & contrast

On white

5.14
#AF468E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF468E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF468E
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF468E#FFFFFF#000000##FFFFFF
##AF468E1.005.144.095.14
#FFFFFF5.141.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6390
Deuteranopia (green-blind)
#6C748B
Tritanopia (blue-blind)
#B94764
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af468e;
/* rgb */ color: rgb(175, 70, 142);
/* oklch */ color: oklch(55.7% 0.160 341.7);
Tailwind
colors: {
  custom: {
    50: '#ca7faf',
    500: '#af468e',
    950: '#000000',
  },
}
SCSS
$custom: #af468e;
$custom-light: #ca7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#af468e",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 142
  },
  "hsl": {
    "h": 318.857,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55749,
    "c": 0.15991,
    "h": 341.7
  },
  "luminance": 0.15447
}

Semantic roles & 50–950 ramp

primary
#AF468E
secondary
#8EC29F
accent
#D37D55
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF468E

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

Preview Lab → · Contrast checker → · Palette generator →

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