#AF376A#AF376A

#AF376A is a mid, vivid pink. Relative luminance 0.129; OKLCH L 52.6% C 0.162 H 358.2°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF376A
RGBrgb(175, 55, 106)
HSLhsl(335, 52%, 45%)
HSVhsv(335, 69%, 69%)
CMYKcmyk(0%, 68.6%, 39.4%, 31.4%)
CIE-LABlab(42.60, 52.78, -2.22)
CIE-LCHlch(42.60, 52.83, 357.59°)
OKLaboklab(52.63% 0.1617 -0.0052)
OKLCHoklch(52.63% 0.162 358.2)
XYZxyz(21.6483, 12.8895, 14.9808)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF376A #37AF7C
analogous
#AF37A6 #AF376A #AF4037
triadic
#AF376A #6AAF37 #376AAF
tetradic
#AF376A #A6AF37 #37AF7C #4037AF
square
#AF376A #A6AF37 #37AF7C #4037AF
split-complementary
#AF376A #37AF40 #37A6AF
monochromatic
#521A32 #80284E #AF376A #CB5989 #D987AA

Accessibility & contrast

On white

5.87
#AF376A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF376A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF376A
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF376A#FFFFFF#000000##FFFFFF
##AF376A1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E566B
Deuteranopia (green-blind)
#6F6D67
Tritanopia (blue-blind)
#BD2A4C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af376a;
/* rgb */ color: rgb(175, 55, 106);
/* oklch */ color: oklch(52.6% 0.162 358.2);
Tailwind
colors: {
  custom: {
    50: '#cb7694',
    500: '#af376a',
    950: '#000000',
  },
}
SCSS
$custom: #af376a;
$custom-light: #cb7694;
$custom-dark: #000000;
JSON
{
  "hex": "#af376a",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 106
  },
  "hsl": {
    "h": 334.5,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52632,
    "c": 0.16174,
    "h": 358.2
  },
  "luminance": 0.12887
}

Semantic roles & 50–950 ramp

primary
#AF376A
secondary
#7FC3A6
accent
#DC9F4C
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF376A

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

Preview Lab → · Contrast checker → · Palette generator →

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