#AF458E#AF458E

#AF458E is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.6% C 0.161 H 341.6°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF458E
RGBrgb(175, 69, 142)
HSLhsl(319, 43%, 48%)
HSVhsv(319, 61%, 69%)
CMYKcmyk(0%, 60.6%, 18.9%, 31.4%)
CIE-LABlab(46.08, 51.46, -19.00)
CIE-LCHlch(46.08, 54.85, 339.74°)
OKLaboklab(55.63% 0.1532 -0.0509)
OKLCHoklch(55.63% 0.161 341.6)
XYZxyz(24.6904, 15.3254, 27.2437)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF458E #45AF66
analogous
#9B45AF #AF458E #AF4559
triadic
#AF458E #8EAF45 #458EAF
tetradic
#AF458E #AF9B45 #45AF66 #4559AF
square
#AF458E #AF9B45 #45AF66 #4559AF
split-complementary
#AF458E #59AF45 #45AF9B
monochromatic
#572247 #83346A #AF458E #C56CA9 #D698C3

Accessibility & contrast

On white

5.17
#AF458E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF458E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF458E
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF458E#FFFFFF#000000##FFFFFF
##AF458E1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af458e;
/* rgb */ color: rgb(175, 69, 142);
/* oklch */ color: oklch(55.6% 0.161 341.6);
Tailwind
colors: {
  custom: {
    50: '#ca7faf',
    500: '#af458e',
    950: '#000000',
  },
}
SCSS
$custom: #af458e;
$custom-light: #ca7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#af458e",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 318.679,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55626,
    "c": 0.16142,
    "h": 341.6
  },
  "luminance": 0.15323
}

Semantic roles & 50–950 ramp

primary
#AF458E
secondary
#8DC29E
accent
#D37C55
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF458E

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

Preview Lab → · Contrast checker → · Palette generator →

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