#AF2C75#AF2C75

#AF2C75 is a mid, vivid pink. Relative luminance 0.122; OKLCH L 52.0% C 0.180 H 351.2°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#AF2C75
RGBrgb(175, 44, 117)
HSLhsl(327, 60%, 43%)
HSVhsv(327, 75%, 69%)
CMYKcmyk(0%, 74.9%, 33.1%, 31.4%)
CIE-LABlab(41.54, 58.03, -10.64)
CIE-LCHlch(41.54, 58.99, 349.61°)
OKLaboklab(51.98% 0.1776 -0.0276)
OKLCHoklch(51.98% 0.18 351.2)
XYZxyz(21.7920, 12.2022, 18.0338)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C75 #2CAF66
analogous
#A72CAF #AF2C75 #AF2C33
triadic
#AF2C75 #75AF2C #2C75AF
tetradic
#AF2C75 #AFA72C #2CAF66 #2C33AF
square
#AF2C75 #AFA72C #2CAF66 #2C33AF
split-complementary
#AF2C75 #33AF2C #2CAFA7
monochromatic
#4D1334 #7E2054 #AF2C75 #D14794 #DD78B0

Accessibility & contrast

On white

6.10
#AF2C75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AF2C75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C75
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C75#FFFFFF#000000##FFFFFF
##AF2C751.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435377
Deuteranopia (green-blind)
#686A72
Tritanopia (blue-blind)
#BC224D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2c75;
/* rgb */ color: rgb(175, 44, 117);
/* oklch */ color: oklch(52.0% 0.180 351.2);
Tailwind
colors: {
  custom: {
    50: '#cb729c',
    500: '#af2c75',
    950: '#000000',
  },
}
SCSS
$custom: #af2c75;
$custom-light: #cb729c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c75",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 117
  },
  "hsl": {
    "h": 326.565,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51976,
    "c": 0.17973,
    "h": 351.2
  },
  "luminance": 0.122
}

Semantic roles & 50–950 ramp

primary
#AF2C75
secondary
#72C597
accent
#E38B45
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2C75

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

Preview Lab → · Contrast checker → · Palette generator →

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