#AF4083#AF4083

#AF4083 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.6% C 0.162 H 346.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF4083
RGBrgb(175, 64, 131)
HSLhsl(324, 46%, 47%)
HSVhsv(324, 63%, 69%)
CMYKcmyk(0%, 63.4%, 25.1%, 31.4%)
CIE-LABlab(44.83, 52.10, -14.24)
CIE-LCHlch(44.83, 54.01, 344.71°)
OKLaboklab(54.57% 0.1573 -0.0376)
OKLCHoklch(54.57% 0.162 346.6)
XYZxyz(23.6102, 14.4218, 23.0086)
Luminance0.1442 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4083 #40AF6C
analogous
#A440AF #AF4083 #AF404B
triadic
#AF4083 #83AF40 #4083AF
tetradic
#AF4083 #AFA440 #40AF6C #404BAF
square
#AF4083 #AFA440 #40AF6C #404BAF
split-complementary
#AF4083 #4BAF40 #40AFA4
monochromatic
#551F40 #823061 #AF4083 #C765A0 #D792BC

Accessibility & contrast

On white

5.41
#AF4083 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF4083 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4083
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4083#FFFFFF#000000##FFFFFF
##AF40831.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5E85
Deuteranopia (green-blind)
#6C7180
Tritanopia (blue-blind)
#BA3E5C
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af4083;
/* rgb */ color: rgb(175, 64, 131);
/* oklch */ color: oklch(54.6% 0.162 346.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ca7',
    500: '#af4083',
    950: '#000000',
  },
}
SCSS
$custom: #af4083;
$custom-light: #ca7ca7;
$custom-dark: #000000;
JSON
{
  "hex": "#af4083",
  "rgb": {
    "r": 175,
    "g": 64,
    "b": 131
  },
  "hsl": {
    "h": 323.784,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.54567,
    "c": 0.16173,
    "h": 346.6
  },
  "luminance": 0.14419
}

Semantic roles & 50–950 ramp

primary
#AF4083
secondary
#88C39F
accent
#D68652
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140A0F
muted
#827C7F

Preview Lab

Preview with #AF4083

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

Preview Lab → · Contrast checker → · Palette generator →

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