#AF3074#AF3074

#AF3074 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.3% C 0.175 H 352.1°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#AF3074
RGBrgb(175, 48, 116)
HSLhsl(328, 57%, 44%)
HSVhsv(328, 73%, 69%)
CMYKcmyk(0%, 72.6%, 33.7%, 31.4%)
CIE-LABlab(41.99, 56.54, -9.34)
CIE-LCHlch(41.99, 57.30, 350.62°)
OKLaboklab(52.29% 0.173 -0.0241)
OKLCHoklch(52.29% 0.175 352.1)
XYZxyz(21.8898, 12.4914, 17.7779)
Luminance0.1249 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3074 #30AF6B
analogous
#AA30AF #AF3074 #AF3034
triadic
#AF3074 #74AF30 #3074AF
tetradic
#AF3074 #AFAA30 #30AF6B #3034AF
square
#AF3074 #AFAA30 #30AF6B #3034AF
split-complementary
#AF3074 #34AF30 #30AFAA
monochromatic
#4F1634 #7F2354 #AF3074 #CE4E93 #DC7EB0

Accessibility & contrast

On white

6.00
#AF3074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#AF3074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3074
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3074#FFFFFF#000000##FFFFFF
##AF30741.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465476
Deuteranopia (green-blind)
#6A6B71
Tritanopia (blue-blind)
#BC264E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3074;
/* rgb */ color: rgb(175, 48, 116);
/* oklch */ color: oklch(52.3% 0.175 352.1);
Tailwind
colors: {
  custom: {
    50: '#cb739c',
    500: '#af3074',
    950: '#000000',
  },
}
SCSS
$custom: #af3074;
$custom-light: #cb739c;
$custom-dark: #000000;
JSON
{
  "hex": "#af3074",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 116
  },
  "hsl": {
    "h": 327.874,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52294,
    "c": 0.17468,
    "h": 352.1
  },
  "luminance": 0.12489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3074

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

Preview Lab → · Contrast checker → · Palette generator →

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