#AF376B#AF376B

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

Color values

HEX#AF376B
RGBrgb(175, 55, 107)
HSLhsl(334, 52%, 45%)
HSVhsv(334, 69%, 69%)
CMYKcmyk(0%, 68.6%, 38.9%, 31.4%)
CIE-LABlab(42.63, 52.89, -2.80)
CIE-LCHlch(42.63, 52.96, 356.97°)
OKLaboklab(52.67% 0.162 -0.0067)
OKLCHoklch(52.67% 0.162 357.6)
XYZxyz(21.7006, 12.9104, 15.2563)
Luminance0.1291 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF376B #37AF7B
analogous
#AF37A7 #AF376B #AF3F37
triadic
#AF376B #6BAF37 #376BAF
tetradic
#AF376B #A7AF37 #37AF7B #3F37AF
square
#AF376B #A7AF37 #37AF7B #3F37AF
split-complementary
#AF376B #37AF3F #37A7AF
monochromatic
#521A32 #80284F #AF376B #CB598A #D987AB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF376B#FFFFFF#000000##FFFFFF
##AF376B1.005.863.585.86
#FFFFFF5.861.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.861.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af376b;
/* rgb */ color: rgb(175, 55, 107);
/* oklch */ color: oklch(52.7% 0.162 357.6);
Tailwind
colors: {
  custom: {
    50: '#cb7695',
    500: '#af376b',
    950: '#000000',
  },
}
SCSS
$custom: #af376b;
$custom-light: #cb7695;
$custom-dark: #000000;
JSON
{
  "hex": "#af376b",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 107
  },
  "hsl": {
    "h": 334,
    "s": 52.174,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52666,
    "c": 0.16213,
    "h": 357.6
  },
  "luminance": 0.12908
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF376B

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

Preview Lab → · Contrast checker → · Palette generator →

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