#AF3076#AF3076

#AF3076 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.4% C 0.176 H 351.1°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF3076
RGBrgb(175, 48, 118)
HSLhsl(327, 57%, 44%)
HSVhsv(327, 73%, 69%)
CMYKcmyk(0%, 72.6%, 32.6%, 31.4%)
CIE-LABlab(42.06, 56.77, -10.47)
CIE-LCHlch(42.06, 57.73, 349.56°)
OKLaboklab(52.37% 0.1736 -0.0271)
OKLCHoklch(52.37% 0.176 351.1)
XYZxyz(22.0074, 12.5384, 18.3972)
Luminance0.1254 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3076 #30AF69
analogous
#A830AF #AF3076 #AF3036
triadic
#AF3076 #76AF30 #3076AF
tetradic
#AF3076 #AFA830 #30AF69 #3036AF
square
#AF3076 #AFA830 #30AF69 #3036AF
split-complementary
#AF3076 #36AF30 #30AFA8
monochromatic
#4F1635 #7F2356 #AF3076 #CE4E95 #DC7EB1

Accessibility & contrast

On white

5.99
#AF3076 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AF3076 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3076
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3076#FFFFFF#000000##FFFFFF
##AF30761.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455578
Deuteranopia (green-blind)
#696C73
Tritanopia (blue-blind)
#BC274F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af3076;
/* rgb */ color: rgb(175, 48, 118);
/* oklch */ color: oklch(52.4% 0.176 351.1);
Tailwind
colors: {
  custom: {
    50: '#cb739d',
    500: '#af3076',
    950: '#000000',
  },
}
SCSS
$custom: #af3076;
$custom-light: #cb739d;
$custom-dark: #000000;
JSON
{
  "hex": "#af3076",
  "rgb": {
    "r": 175,
    "g": 48,
    "b": 118
  },
  "hsl": {
    "h": 326.929,
    "s": 56.951,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52371,
    "c": 0.17567,
    "h": 351.1
  },
  "luminance": 0.12536
}

Semantic roles & 50–950 ramp

primary
#AF3076
secondary
#76C499
accent
#E08C48
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF3076

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

Preview Lab → · Contrast checker → · Palette generator →

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