#AF2B75#AF2B75

#AF2B75 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.9% C 0.181 H 351.1°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF2B75
RGBrgb(175, 43, 117)
HSLhsl(326, 61%, 43%)
HSVhsv(326, 75%, 69%)
CMYKcmyk(0%, 75.4%, 33.1%, 31.4%)
CIE-LABlab(41.42, 58.35, -10.81)
CIE-LCHlch(41.42, 59.35, 349.50°)
OKLaboklab(51.89% 0.1786 -0.028)
OKLCHoklch(51.89% 0.181 351.1)
XYZxyz(21.7552, 12.1286, 18.0216)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B75 #2BAF65
analogous
#A72BAF #AF2B75 #AF2B33
triadic
#AF2B75 #75AF2B #2B75AF
tetradic
#AF2B75 #AFA72B #2BAF65 #2B33AF
square
#AF2B75 #AFA72B #2BAF65 #2B33AF
split-complementary
#AF2B75 #33AF2B #2BAFA7
monochromatic
#4D1333 #7E1F54 #AF2B75 #D14694 #DE77B0

Accessibility & contrast

On white

6.13
#AF2B75 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF2B75 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B75
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B75#FFFFFF#000000##FFFFFF
##AF2B751.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2b75;
/* rgb */ color: rgb(175, 43, 117);
/* oklch */ color: oklch(51.9% 0.181 351.1);
Tailwind
colors: {
  custom: {
    50: '#cb719c',
    500: '#af2b75',
    950: '#000000',
  },
}
SCSS
$custom: #af2b75;
$custom-light: #cb719c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b75",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 117
  },
  "hsl": {
    "h": 326.364,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51891,
    "c": 0.18082,
    "h": 351.1
  },
  "luminance": 0.12126
}

Semantic roles & 50–950 ramp

primary
#AF2B75
secondary
#70C596
accent
#E48A44
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF2B75

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

Preview Lab → · Contrast checker → · Palette generator →

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