#AF2E75#AF2E75

#AF2E75 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.1% C 0.177 H 351.4°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AF2E75
RGBrgb(175, 46, 117)
HSLhsl(327, 58%, 43%)
HSVhsv(327, 74%, 69%)
CMYKcmyk(0%, 73.7%, 33.1%, 31.4%)
CIE-LABlab(41.77, 57.35, -10.27)
CIE-LCHlch(41.77, 58.27, 349.84°)
OKLaboklab(52.15% 0.1755 -0.0266)
OKLCHoklch(52.15% 0.177 351.4)
XYZxyz(21.8683, 12.3549, 18.0593)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E75 #2EAF68
analogous
#A82EAF #AF2E75 #AF2E34
triadic
#AF2E75 #75AF2E #2E75AF
tetradic
#AF2E75 #AFA82E #2EAF68 #2E34AF
square
#AF2E75 #AFA82E #2EAF68 #2E34AF
split-complementary
#AF2E75 #34AF2E #2EAFA8
monochromatic
#4E1534 #7F2155 #AF2E75 #D04B94 #DC7BB1

Accessibility & contrast

On white

6.05
#AF2E75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AF2E75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E75
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E75#FFFFFF#000000##FFFFFF
##AF2E751.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445477
Deuteranopia (green-blind)
#696B72
Tritanopia (blue-blind)
#BC254D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af2e75;
/* rgb */ color: rgb(175, 46, 117);
/* oklch */ color: oklch(52.1% 0.177 351.4);
Tailwind
colors: {
  custom: {
    50: '#cb729c',
    500: '#af2e75',
    950: '#000000',
  },
}
SCSS
$custom: #af2e75;
$custom-light: #cb729c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e75",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 117
  },
  "hsl": {
    "h": 326.977,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5215,
    "c": 0.17749,
    "h": 351.4
  },
  "luminance": 0.12352
}

Semantic roles & 50–950 ramp

primary
#AF2E75
secondary
#74C598
accent
#E28C46
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2E75

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

Preview Lab → · Contrast checker → · Palette generator →

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