#AF2B74#AF2B74

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

Color values

HEX#AF2B74
RGBrgb(175, 43, 116)
HSLhsl(327, 61%, 43%)
HSVhsv(327, 75%, 69%)
CMYKcmyk(0%, 75.4%, 33.7%, 31.4%)
CIE-LABlab(41.38, 58.24, -10.24)
CIE-LCHlch(41.38, 59.13, 350.02°)
OKLaboklab(51.85% 0.1784 -0.0265)
OKLCHoklch(51.85% 0.18 351.5)
XYZxyz(21.6967, 12.1052, 17.7136)
Luminance0.1210 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B74 #2BAF66
analogous
#A82BAF #AF2B74 #AF2B32
triadic
#AF2B74 #74AF2B #2B74AF
tetradic
#AF2B74 #AFA82B #2BAF66 #2B32AF
square
#AF2B74 #AFA82B #2BAF66 #2B32AF
split-complementary
#AF2B74 #32AF2B #2BAFA8
monochromatic
#4D1333 #7E1F53 #AF2B74 #D14693 #DE77B0

Accessibility & contrast

On white

6.14
#AF2B74 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF2B74 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B74
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B74#FFFFFF#000000##FFFFFF
##AF2B741.006.143.426.14
#FFFFFF6.141.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425276
Deuteranopia (green-blind)
#686A71
Tritanopia (blue-blind)
#BC204C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2b74;
/* rgb */ color: rgb(175, 43, 116);
/* oklch */ color: oklch(51.9% 0.180 351.5);
Tailwind
colors: {
  custom: {
    50: '#cb719c',
    500: '#af2b74',
    950: '#000000',
  },
}
SCSS
$custom: #af2b74;
$custom-light: #cb719c;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b74",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 116
  },
  "hsl": {
    "h": 326.818,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51852,
    "c": 0.18033,
    "h": 351.5
  },
  "luminance": 0.12103
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2B74

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

Preview Lab → · Contrast checker → · Palette generator →

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