#AF3175#AF3175

#AF3175 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.4% C 0.174 H 351.7°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#AF3175
RGBrgb(175, 49, 117)
HSLhsl(328, 56%, 44%)
HSVhsv(328, 72%, 69%)
CMYKcmyk(0%, 72%, 33.1%, 31.4%)
CIE-LABlab(42.15, 56.30, -9.71)
CIE-LCHlch(42.15, 57.13, 350.22°)
OKLaboklab(52.43% 0.1722 -0.0251)
OKLCHoklch(52.43% 0.174 351.7)
XYZxyz(21.9896, 12.5975, 18.0997)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3175 #31AF6B
analogous
#AA31AF #AF3175 #AF3136
triadic
#AF3175 #75AF31 #3175AF
tetradic
#AF3175 #AFAA31 #31AF6B #3136AF
square
#AF3175 #AFAA31 #31AF6B #3136AF
split-complementary
#AF3175 #36AF31 #31AFAA
monochromatic
#4F1635 #7F2455 #AF3175 #CE4F94 #DB7FB1

Accessibility & contrast

On white

5.97
#AF3175 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AF3175 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3175
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3175#FFFFFF#000000##FFFFFF
##AF31751.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465577
Deuteranopia (green-blind)
#6A6C72
Tritanopia (blue-blind)
#BC284F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3175;
/* rgb */ color: rgb(175, 49, 117);
/* oklch */ color: oklch(52.4% 0.174 351.7);
Tailwind
colors: {
  custom: {
    50: '#cb749c',
    500: '#af3175',
    950: '#000000',
  },
}
SCSS
$custom: #af3175;
$custom-light: #cb749c;
$custom-dark: #000000;
JSON
{
  "hex": "#af3175",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 117
  },
  "hsl": {
    "h": 327.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52426,
    "c": 0.17399,
    "h": 351.7
  },
  "luminance": 0.12595
}

Semantic roles & 50–950 ramp

primary
#AF3175
secondary
#78C49B
accent
#E08E48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3175

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

Preview Lab → · Contrast checker → · Palette generator →

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