#AF4092#AF4092

#AF4092 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.2% C 0.172 H 339.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF4092
RGBrgb(175, 64, 146)
HSLhsl(316, 46%, 47%)
HSVhsv(316, 63%, 69%)
CMYKcmyk(0%, 63.4%, 16.6%, 31.4%)
CIE-LABlab(45.44, 54.25, -22.39)
CIE-LCHlch(45.44, 58.69, 337.58°)
OKLaboklab(55.21% 0.1606 -0.0603)
OKLCHoklch(55.21% 0.172 339.4)
XYZxyz(24.7014, 14.8582, 28.7555)
Luminance0.1486 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4092 #40AF5D
analogous
#9540AF #AF4092 #AF405A
triadic
#AF4092 #92AF40 #4092AF
tetradic
#AF4092 #AF9540 #40AF5D #405AAF
square
#AF4092 #AF9540 #40AF5D #405AAF
split-complementary
#AF4092 #5AAF40 #40AF95
monochromatic
#551F47 #82306D #AF4092 #C765AD #D792C5

Accessibility & contrast

On white

5.29
#AF4092 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF4092 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4092
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4092#FFFFFF#000000##FFFFFF
##AF40921.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456094
Deuteranopia (green-blind)
#67728F
Tritanopia (blue-blind)
#B94363
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4092;
/* rgb */ color: rgb(175, 64, 146);
/* oklch */ color: oklch(55.2% 0.172 339.4);
Tailwind
colors: {
  custom: {
    50: '#ca7cb2',
    500: '#af4092',
    950: '#000000',
  },
}
SCSS
$custom: #af4092;
$custom-light: #ca7cb2;
$custom-dark: #000000;
JSON
{
  "hex": "#af4092",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 146
  },
  "hsl": {
    "h": 315.676,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55213,
    "c": 0.17158,
    "h": 339.4
  },
  "luminance": 0.14856
}

Semantic roles & 50–950 ramp

primary
#AF4092
secondary
#88C397
accent
#D67452
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4092

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

Preview Lab → · Contrast checker → · Palette generator →

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