#AF3768#AF3768

#AF3768 is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.161 H 359.2°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#AF3768
RGBrgb(175, 55, 104)
HSLhsl(336, 52%, 45%)
HSVhsv(336, 69%, 69%)
CMYKcmyk(0%, 68.6%, 40.6%, 31.4%)
CIE-LABlab(42.53, 52.56, -1.07)
CIE-LCHlch(42.53, 52.58, 358.83°)
OKLaboklab(52.57% 0.161 -0.0022)
OKLCHoklch(52.57% 0.161 359.2)
XYZxyz(21.5455, 12.8484, 14.4394)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3768 #37AF7E
analogous
#AF37A4 #AF3768 #AF4237
triadic
#AF3768 #68AF37 #3768AF
tetradic
#AF3768 #A4AF37 #37AF7E #4237AF
square
#AF3768 #A4AF37 #37AF7E #4237AF
split-complementary
#AF3768 #37AF42 #37A4AF
monochromatic
#521A31 #80284C #AF3768 #CB5987 #D987A9

Accessibility & contrast

On white

5.88
#AF3768 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AF3768 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3768
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3768#FFFFFF#000000##FFFFFF
##AF37681.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5669
Deuteranopia (green-blind)
#6F6D65
Tritanopia (blue-blind)
#BD294B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3768;
/* rgb */ color: rgb(175, 55, 104);
/* oklch */ color: oklch(52.6% 0.161 359.2);
Tailwind
colors: {
  custom: {
    50: '#cb7693',
    500: '#af3768',
    950: '#000000',
  },
}
SCSS
$custom: #af3768;
$custom-light: #cb7693;
$custom-dark: #000000;
JSON
{
  "hex": "#af3768",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 104
  },
  "hsl": {
    "h": 335.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52565,
    "c": 0.161,
    "h": 359.2
  },
  "luminance": 0.12846
}

Semantic roles & 50–950 ramp

primary
#AF3768
secondary
#7FC3A7
accent
#DCA14C
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF3768

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

Preview Lab → · Contrast checker → · Palette generator →

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