#AF3794#AF3794

#AF3794 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.185 H 338.1°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF3794
RGBrgb(175, 55, 148)
HSLhsl(314, 52%, 45%)
HSVhsv(314, 69%, 69%)
CMYKcmyk(0%, 68.6%, 15.4%, 31.4%)
CIE-LABlab(44.21, 58.19, -25.49)
CIE-LCHlch(44.21, 63.53, 336.35°)
OKLaboklab(54.35% 0.1719 -0.069)
OKLCHoklch(54.35% 0.185 338.1)
XYZxyz(24.3912, 13.9867, 29.4263)
Luminance0.1398 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3794 #37AF52
analogous
#8E37AF #AF3794 #AF3758
triadic
#AF3794 #94AF37 #3794AF
tetradic
#AF3794 #AF8E37 #37AF52 #3758AF
square
#AF3794 #AF8E37 #37AF52 #3758AF
split-complementary
#AF3794 #58AF37 #37AF8E
monochromatic
#521A45 #80286D #AF3794 #CB59B1 #D987C7

Accessibility & contrast

On white

5.53
#AF3794 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF3794 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3794
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3794#FFFFFF#000000##FFFFFF
##AF37941.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5D97
Deuteranopia (green-blind)
#626F91
Tritanopia (blue-blind)
#B93C61
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3794;
/* rgb */ color: rgb(175, 55, 148);
/* oklch */ color: oklch(54.3% 0.185 338.1);
Tailwind
colors: {
  custom: {
    50: '#ca78b3',
    500: '#af3794',
    950: '#000000',
  },
}
SCSS
$custom: #af3794;
$custom-light: #ca78b3;
$custom-dark: #000000;
JSON
{
  "hex": "#af3794",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 148
  },
  "hsl": {
    "h": 313.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.54347,
    "c": 0.18522,
    "h": 338.1
  },
  "luminance": 0.13984
}

Semantic roles & 50–950 ramp

primary
#AF3794
secondary
#7FC38E
accent
#DC6C4C
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF3794

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

Preview Lab → · Contrast checker → · Palette generator →

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