#AF468F#AF468F

#AF468F is a mid, vivid pink. Relative luminance 0.155; OKLCH L 55.8% C 0.161 H 341.2°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AF468F
RGBrgb(175, 70, 143)
HSLhsl(318, 43%, 48%)
HSVhsv(318, 60%, 69%)
CMYKcmyk(0%, 60%, 18.3%, 31.4%)
CIE-LABlab(46.28, 51.16, -19.28)
CIE-LCHlch(46.28, 54.67, 339.35°)
OKLaboklab(55.79% 0.1521 -0.0517)
OKLCHoklch(55.79% 0.161 341.2)
XYZxyz(24.8278, 15.4796, 27.6615)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF468F #46AF66
analogous
#9A46AF #AF468F #AF465A
triadic
#AF468F #8FAF46 #468FAF
tetradic
#AF468F #AF9A46 #46AF66 #465AAF
square
#AF468F #AF9A46 #46AF66 #465AAF
split-complementary
#AF468F #5AAF46 #46AF9A
monochromatic
#582348 #83356B #AF468F #C56DAA #D699C4

Accessibility & contrast

On white

5.13
#AF468F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#AF468F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF468F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF468F#FFFFFF#000000##FFFFFF
##AF468F1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D6391
Deuteranopia (green-blind)
#6B748C
Tritanopia (blue-blind)
#B94864
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af468f;
/* rgb */ color: rgb(175, 70, 143);
/* oklch */ color: oklch(55.8% 0.161 341.2);
Tailwind
colors: {
  custom: {
    50: '#ca7fb0',
    500: '#af468f',
    950: '#000000',
  },
}
SCSS
$custom: #af468f;
$custom-light: #ca7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#af468f",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 143
  },
  "hsl": {
    "h": 318.286,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55792,
    "c": 0.1606,
    "h": 341.2
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#AF468F
secondary
#8EC29E
accent
#D37B55
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF468F

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

Preview Lab → · Contrast checker → · Palette generator →

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