#AF2792#AF2792

#AF2792 is a mid, highly saturated pink. Relative luminance 0.126; OKLCH L 52.9% C 0.202 H 338.4°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AF2792
RGBrgb(175, 39, 146)
HSLhsl(313, 64%, 42%)
HSVhsv(313, 78%, 69%)
CMYKcmyk(0%, 77.7%, 16.6%, 31.4%)
CIE-LABlab(42.22, 63.29, -27.39)
CIE-LCHlch(42.22, 68.96, 336.60°)
OKLaboklab(52.87% 0.1878 -0.0743)
OKLCHoklch(52.87% 0.202 338.4)
XYZxyz(23.5936, 12.6426, 28.3863)
Luminance0.1264 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2792 #27AF44
analogous
#8827AF #AF2792 #AF274E
triadic
#AF2792 #92AF27 #2792AF
tetradic
#AF2792 #AF8827 #27AF44 #274EAF
square
#AF2792 #AF8827 #27AF44 #274EAF
split-complementary
#AF2792 #4EAF27 #27AF88
monochromatic
#4B113E #7D1C68 #AF2792 #D43FB4 #DF71C8

Accessibility & contrast

On white

5.95
#AF2792 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF2792 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2792
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2792#FFFFFF#000000##FFFFFF
##AF27921.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5695
Deuteranopia (green-blind)
#5D6B8F
Tritanopia (blue-blind)
#B92E5A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2792;
/* rgb */ color: rgb(175, 39, 146);
/* oklch */ color: oklch(52.9% 0.202 338.4);
Tailwind
colors: {
  custom: {
    50: '#cb71b2',
    500: '#af2792',
    950: '#000000',
  },
}
SCSS
$custom: #af2792;
$custom-light: #cb71b2;
$custom-dark: #000000;
JSON
{
  "hex": "#af2792",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 146
  },
  "hsl": {
    "h": 312.794,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52873,
    "c": 0.20196,
    "h": 338.4
  },
  "luminance": 0.1264
}

Semantic roles & 50–950 ramp

primary
#AF2792
secondary
#6BC67F
accent
#E76441
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2792

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

Preview Lab → · Contrast checker → · Palette generator →

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