#AF3097#AF3097

#AF3097 is a mid, vivid pink. Relative luminance 0.135; OKLCH L 53.8% C 0.196 H 336.7°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AF3097
RGBrgb(175, 48, 151)
HSLhsl(311, 57%, 44%)
HSVhsv(311, 73%, 69%)
CMYKcmyk(0%, 72.6%, 13.7%, 31.4%)
CIE-LABlab(43.45, 61.17, -28.48)
CIE-LCHlch(43.45, 67.47, 335.03°)
OKLaboklab(53.84% 0.1798 -0.0775)
OKLCHoklch(53.84% 0.196 336.7)
XYZxyz(24.3225, 13.4644, 30.5901)
Luminance0.1346 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3097 #30AF48
analogous
#8730AF #AF3097 #AF3057
triadic
#AF3097 #97AF30 #3097AF
tetradic
#AF3097 #AF8730 #30AF48 #3057AF
square
#AF3097 #AF8730 #30AF48 #3057AF
split-complementary
#AF3097 #57AF30 #30AF87
monochromatic
#4F1644 #7F236E #AF3097 #CE4EB6 #DC7ECA

Accessibility & contrast

On white

5.69
#AF3097 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF3097 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3097
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3097#FFFFFF#000000##FFFFFF
##AF30971.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335A9A
Deuteranopia (green-blind)
#5E6E94
Tritanopia (blue-blind)
#B83860
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af3097;
/* rgb */ color: rgb(175, 48, 151);
/* oklch */ color: oklch(53.8% 0.196 336.7);
Tailwind
colors: {
  custom: {
    50: '#cb74b6',
    500: '#af3097',
    950: '#000000',
  },
}
SCSS
$custom: #af3097;
$custom-light: #cb74b6;
$custom-dark: #000000;
JSON
{
  "hex": "#af3097",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 151
  },
  "hsl": {
    "h": 311.339,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.53842,
    "c": 0.19581,
    "h": 336.7
  },
  "luminance": 0.13462
}

Semantic roles & 50–950 ramp

primary
#AF3097
secondary
#76C485
accent
#E06448
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3097

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

Preview Lab → · Contrast checker → · Palette generator →

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