#AF457E#AF457E

#AF457E is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.0% C 0.151 H 349.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF457E
RGBrgb(175, 69, 126)
HSLhsl(328, 43%, 48%)
HSVhsv(328, 61%, 69%)
CMYKcmyk(0%, 60.6%, 28%, 31.4%)
CIE-LABlab(45.47, 49.20, -10.24)
CIE-LCHlch(45.47, 50.26, 348.24°)
OKLaboklab(54.98% 0.1491 -0.0267)
OKLCHoklch(54.98% 0.151 349.9)
XYZxyz(23.5742, 14.8789, 21.3650)
Luminance0.1488 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF457E #45AF76
analogous
#AB45AF #AF457E #AF4549
triadic
#AF457E #7EAF45 #457EAF
tetradic
#AF457E #AFAB45 #45AF76 #4549AF
square
#AF457E #AFAB45 #45AF76 #4549AF
split-complementary
#AF457E #49AF45 #45AFAB
monochromatic
#57223F #83345E #AF457E #C56C9C #D698BA

Accessibility & contrast

On white

5.28
#AF457E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF457E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF457E
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF457E#FFFFFF#000000##FFFFFF
##AF457E1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526080
Deuteranopia (green-blind)
#70737B
Tritanopia (blue-blind)
#BB415C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af457e;
/* rgb */ color: rgb(175, 69, 126);
/* oklch */ color: oklch(55.0% 0.151 349.9);
Tailwind
colors: {
  custom: {
    50: '#ca7ea3',
    500: '#af457e',
    950: '#000000',
  },
}
SCSS
$custom: #af457e;
$custom-light: #ca7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#af457e",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 126
  },
  "hsl": {
    "h": 327.736,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.54976,
    "c": 0.15147,
    "h": 349.9
  },
  "luminance": 0.14877
}

Semantic roles & 50–950 ramp

primary
#AF457E
secondary
#8DC2A6
accent
#D38F55
background
#FCF8FA
surface
#F9EFF3
border
#D2CACD
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF457E

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

Preview Lab → · Contrast checker → · Palette generator →

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