#AF458F#AF458F

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

Color values

HEX#AF458F
RGBrgb(175, 69, 143)
HSLhsl(318, 43%, 48%)
HSVhsv(318, 61%, 69%)
CMYKcmyk(0%, 60.6%, 18.3%, 31.4%)
CIE-LABlab(46.12, 51.61, -19.54)
CIE-LCHlch(46.12, 55.18, 339.26°)
OKLaboklab(55.67% 0.1534 -0.0524)
OKLCHoklch(55.67% 0.162 341.1)
XYZxyz(24.7658, 15.3555, 27.6408)
Luminance0.1535 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF458F #45AF65
analogous
#9A45AF #AF458F #AF455A
triadic
#AF458F #8FAF45 #458FAF
tetradic
#AF458F #AF9A45 #45AF65 #455AAF
square
#AF458F #AF9A45 #45AF65 #455AAF
split-complementary
#AF458F #5AAF45 #45AF9A
monochromatic
#572247 #83346B #AF458F #C56CAA #D698C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF458F#FFFFFF#000000##FFFFFF
##AF458F1.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)
#4C6291
Deuteranopia (green-blind)
#6B748C
Tritanopia (blue-blind)
#B94764
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af458f;
/* rgb */ color: rgb(175, 69, 143);
/* oklch */ color: oklch(55.7% 0.162 341.1);
Tailwind
colors: {
  custom: {
    50: '#ca7fb0',
    500: '#af458f',
    950: '#000000',
  },
}
SCSS
$custom: #af458f;
$custom-light: #ca7fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#af458f",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 143
  },
  "hsl": {
    "h": 318.113,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55669,
    "c": 0.16212,
    "h": 341.1
  },
  "luminance": 0.15353
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF458F

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

Preview Lab → · Contrast checker → · Palette generator →

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