#AF2793#AF2793

#AF2793 is a mid, highly saturated pink. Relative luminance 0.127; OKLCH L 52.9% C 0.203 H 338.0°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF2793
RGBrgb(175, 39, 147)
HSLhsl(312, 64%, 42%)
HSVhsv(312, 78%, 69%)
CMYKcmyk(0%, 77.7%, 16%, 31.4%)
CIE-LABlab(42.27, 63.43, -27.92)
CIE-LCHlch(42.27, 69.30, 336.24°)
OKLaboklab(52.92% 0.1879 -0.0758)
OKLCHoklch(52.92% 0.203 338)
XYZxyz(23.6717, 12.6739, 28.7977)
Luminance0.1267 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2793 #27AF43
analogous
#8727AF #AF2793 #AF274F
triadic
#AF2793 #93AF27 #2793AF
tetradic
#AF2793 #AF8727 #27AF43 #274FAF
square
#AF2793 #AF8727 #27AF43 #274FAF
split-complementary
#AF2793 #4FAF27 #27AF87
monochromatic
#4B113F #7D1C69 #AF2793 #D43FB5 #DF71C9

Accessibility & contrast

On white

5.94
#AF2793 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2793
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2793#FFFFFF#000000##FFFFFF
##AF27931.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5696
Deuteranopia (green-blind)
#5D6B90
Tritanopia (blue-blind)
#B92F5B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af2793;
/* rgb */ color: rgb(175, 39, 147);
/* oklch */ color: oklch(52.9% 0.203 338.0);
Tailwind
colors: {
  custom: {
    50: '#cb71b3',
    500: '#af2793',
    950: '#000000',
  },
}
SCSS
$custom: #af2793;
$custom-light: #cb71b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af2793",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 147
  },
  "hsl": {
    "h": 312.353,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.52923,
    "c": 0.20262,
    "h": 338
  },
  "luminance": 0.12672
}

Semantic roles & 50–950 ramp

primary
#AF2793
secondary
#6BC67E
accent
#E76341
background
#FDF7FB
surface
#FAEDF6
border
#D3C8D0
text
#140911
muted
#837B80

Preview Lab

Preview with #AF2793

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

Preview Lab → · Contrast checker → · Palette generator →

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