#AF376C#AF376C

#AF376C is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.7% C 0.163 H 357.1°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#AF376C
RGBrgb(175, 55, 108)
HSLhsl(334, 52%, 45%)
HSVhsv(334, 69%, 69%)
CMYKcmyk(0%, 68.6%, 38.3%, 31.4%)
CIE-LABlab(42.66, 53.00, -3.37)
CIE-LCHlch(42.66, 53.11, 356.36°)
OKLaboklab(52.7% 0.1623 -0.0082)
OKLCHoklch(52.7% 0.163 357.1)
XYZxyz(21.7535, 12.9316, 15.5349)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF376C #37AF7A
analogous
#AF37A8 #AF376C #AF3E37
triadic
#AF376C #6CAF37 #376CAF
tetradic
#AF376C #A8AF37 #37AF7A #3E37AF
square
#AF376C #A8AF37 #37AF7A #3E37AF
split-complementary
#AF376C #37AF3E #37A8AF
monochromatic
#521A33 #80284F #AF376C #CB598B #D987AB

Accessibility & contrast

On white

5.86
#AF376C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF376C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF376C
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF376C#FFFFFF#000000##FFFFFF
##AF376C1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D566D
Deuteranopia (green-blind)
#6E6D69
Tritanopia (blue-blind)
#BD2B4D
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af376c;
/* rgb */ color: rgb(175, 55, 108);
/* oklch */ color: oklch(52.7% 0.163 357.1);
Tailwind
colors: {
  custom: {
    50: '#cb7696',
    500: '#af376c',
    950: '#000000',
  },
}
SCSS
$custom: #af376c;
$custom-light: #cb7696;
$custom-dark: #000000;
JSON
{
  "hex": "#af376c",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 108
  },
  "hsl": {
    "h": 333.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.527,
    "c": 0.16252,
    "h": 357.1
  },
  "luminance": 0.12929
}

Semantic roles & 50–950 ramp

primary
#AF376C
secondary
#7FC3A5
accent
#DC9C4C
background
#FDF7F9
surface
#FAEEF1
border
#D3C9CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF376C

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

Preview Lab → · Contrast checker → · Palette generator →

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