#AF4970#AF4970

#AF4970 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.0% C 0.139 H 358.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#AF4970
RGBrgb(175, 73, 112)
HSLhsl(337, 41%, 49%)
HSVhsv(337, 58%, 69%)
CMYKcmyk(0%, 58.3%, 36%, 31.4%)
CIE-LABlab(45.70, 45.55, -1.35)
CIE-LCHlch(45.70, 45.57, 358.30°)
OKLaboklab(55% 0.1388 -0.003)
OKLCHoklch(55% 0.139 358.8)
XYZxyz(22.9876, 15.0513, 17.0207)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4970 #49AF88
analogous
#AF49A3 #AF4970 #AF5549
triadic
#AF4970 #70AF49 #4970AF
tetradic
#AF4970 #A3AF49 #49AF88 #5549AF
square
#AF4970 #A3AF49 #49AF88 #5549AF
split-complementary
#AF4970 #49AF55 #49A3AF
monochromatic
#592539 #843754 #AF4970 #C47191 #D69CB2

Accessibility & contrast

On white

5.24
#AF4970 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF4970 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4970
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4970#FFFFFF#000000##FFFFFF
##AF49701.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6071
Deuteranopia (green-blind)
#75736E
Tritanopia (blue-blind)
#BC4158
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4970;
/* rgb */ color: rgb(175, 73, 112);
/* oklch */ color: oklch(55.0% 0.139 358.8);
Tailwind
colors: {
  custom: {
    50: '#ca8099',
    500: '#af4970',
    950: '#000000',
  },
}
SCSS
$custom: #af4970;
$custom-light: #ca8099;
$custom-dark: #000000;
JSON
{
  "hex": "#af4970",
  "rgb": {
    "r": 175,
    "g": 73,
    "b": 112
  },
  "hsl": {
    "h": 337.059,
    "s": 41.129,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55001,
    "c": 0.13887,
    "h": 358.8
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#AF4970
secondary
#91C2B0
accent
#D1A257
background
#FCF8F9
surface
#F9EFF2
border
#D2CACC
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF4970

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

Preview Lab → · Contrast checker → · Palette generator →

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