#AF4093#AF4093

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

Color values

HEX#AF4093
RGBrgb(175, 64, 147)
HSLhsl(315, 46%, 47%)
HSVhsv(315, 63%, 69%)
CMYKcmyk(0%, 63.4%, 16%, 31.4%)
CIE-LABlab(45.48, 54.40, -22.92)
CIE-LCHlch(45.48, 59.04, 337.15°)
OKLaboklab(55.26% 0.1608 -0.0618)
OKLCHoklch(55.26% 0.172 339)
XYZxyz(24.7795, 14.8895, 29.1670)
Luminance0.1489 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4093 #40AF5C
analogous
#9440AF #AF4093 #AF405C
triadic
#AF4093 #93AF40 #4093AF
tetradic
#AF4093 #AF9440 #40AF5C #405CAF
square
#AF4093 #AF9440 #40AF5C #405CAF
split-complementary
#AF4093 #5CAF40 #40AF94
monochromatic
#551F48 #82306D #AF4093 #C765AE #D792C6

Accessibility & contrast

On white

5.28
#AF4093 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF4093 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4093
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4093#FFFFFF#000000##FFFFFF
##AF40931.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#456196
Deuteranopia (green-blind)
#677290
Tritanopia (blue-blind)
#B84464
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af4093;
/* rgb */ color: rgb(175, 64, 147);
/* oklch */ color: oklch(55.3% 0.172 339.0);
Tailwind
colors: {
  custom: {
    50: '#ca7cb3',
    500: '#af4093',
    950: '#000000',
  },
}
SCSS
$custom: #af4093;
$custom-light: #ca7cb3;
$custom-dark: #000000;
JSON
{
  "hex": "#af4093",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 147
  },
  "hsl": {
    "h": 315.135,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55258,
    "c": 0.17229,
    "h": 339
  },
  "luminance": 0.14887
}

Semantic roles & 50–950 ramp

primary
#AF4093
secondary
#88C397
accent
#D67352
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF4093

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

Preview Lab → · Contrast checker → · Palette generator →

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