#AF468B#AF468B

#AF468B is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.6% C 0.158 H 343.2°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF468B
RGBrgb(175, 70, 139)
HSLhsl(321, 43%, 48%)
HSVhsv(321, 60%, 69%)
CMYKcmyk(0%, 60%, 20.6%, 31.4%)
CIE-LABlab(46.12, 50.56, -17.12)
CIE-LCHlch(46.12, 53.38, 341.30°)
OKLaboklab(55.62% 0.1511 -0.0456)
OKLCHoklch(55.62% 0.158 343.2)
XYZxyz(24.5302, 15.3605, 26.0941)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF468B #46AF6A
analogous
#9E46AF #AF468B #AF4657
triadic
#AF468B #8BAF46 #468BAF
tetradic
#AF468B #AF9E46 #46AF6A #4657AF
square
#AF468B #AF9E46 #46AF6A #4657AF
split-complementary
#AF468B #57AF46 #46AF9E
monochromatic
#582346 #833568 #AF468B #C56DA7 #D699C1

Accessibility & contrast

On white

5.16
#AF468B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF468B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF468B
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF468B#FFFFFF#000000##FFFFFF
##AF468B1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628D
Deuteranopia (green-blind)
#6C7488
Tritanopia (blue-blind)
#B94662
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af468b;
/* rgb */ color: rgb(175, 70, 139);
/* oklch */ color: oklch(55.6% 0.158 343.2);
Tailwind
colors: {
  custom: {
    50: '#ca7fad',
    500: '#af468b',
    950: '#000000',
  },
}
SCSS
$custom: #af468b;
$custom-light: #ca7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#af468b",
  "rgb": {
    "r": 175,
    "g": 70,
    "b": 139
  },
  "hsl": {
    "h": 320.571,
    "s": 42.857,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55622,
    "c": 0.15788,
    "h": 343.2
  },
  "luminance": 0.15358
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF468B

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

Preview Lab → · Contrast checker → · Palette generator →

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