#AF2E79#AF2E79

#AF2E79 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.3% C 0.180 H 349.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#AF2E79
RGBrgb(175, 46, 121)
HSLhsl(325, 58%, 43%)
HSVhsv(325, 74%, 69%)
CMYKcmyk(0%, 73.7%, 30.9%, 31.4%)
CIE-LABlab(41.92, 57.83, -12.53)
CIE-LCHlch(41.92, 59.17, 347.78°)
OKLaboklab(52.31% 0.1765 -0.0327)
OKLCHoklch(52.31% 0.18 349.5)
XYZxyz(22.1085, 12.4509, 19.3244)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E79 #2EAF64
analogous
#A42EAF #AF2E79 #AF2E39
triadic
#AF2E79 #79AF2E #2E79AF
tetradic
#AF2E79 #AFA42E #2EAF64 #2E39AF
square
#AF2E79 #AFA42E #2EAF64 #2E39AF
split-complementary
#AF2E79 #39AF2E #2EAFA4
monochromatic
#4E1536 #7F2157 #AF2E79 #D04B98 #DC7BB4

Accessibility & contrast

On white

6.02
#AF2E79 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#AF2E79 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E79
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E79#FFFFFF#000000##FFFFFF
##AF2E791.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#42547B
Deuteranopia (green-blind)
#686B76
Tritanopia (blue-blind)
#BC274F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2e79;
/* rgb */ color: rgb(175, 46, 121);
/* oklch */ color: oklch(52.3% 0.180 349.5);
Tailwind
colors: {
  custom: {
    50: '#cb739f',
    500: '#af2e79',
    950: '#000000',
  },
}
SCSS
$custom: #af2e79;
$custom-light: #cb739f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e79",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 121
  },
  "hsl": {
    "h": 325.116,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52309,
    "c": 0.17952,
    "h": 349.5
  },
  "luminance": 0.12448
}

Semantic roles & 50–950 ramp

primary
#AF2E79
secondary
#74C596
accent
#E28746
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2E79

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

Preview Lab → · Contrast checker → · Palette generator →

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