#AF2760#AF2760

#AF2760 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.176 H 0.7°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#AF2760
RGBrgb(175, 39, 96)
HSLhsl(335, 64%, 42%)
HSVhsv(335, 78%, 69%)
CMYKcmyk(0%, 77.7%, 45.1%, 31.4%)
CIE-LABlab(40.27, 57.41, 0.63)
CIE-LCHlch(40.27, 57.42, 0.63°)
OKLaboklab(50.82% 0.1763 0.0023)
OKLCHoklch(50.82% 0.176 0.7)
XYZxyz(20.5177, 11.4123, 12.1864)
Luminance0.1141 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2760 #27AF76
analogous
#AF27A4 #AF2760 #AF3227
triadic
#AF2760 #60AF27 #2760AF
tetradic
#AF2760 #A4AF27 #27AF76 #3227AF
square
#AF2760 #A4AF27 #27AF76 #3227AF
split-complementary
#AF2760 #27AF32 #27A4AF
monochromatic
#4B1129 #7D1C45 #AF2760 #D43F7E #DF719F

Accessibility & contrast

On white

6.40
#AF2760 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF2760 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2760
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2760#FFFFFF#000000##FFFFFF
##AF27601.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E61
Deuteranopia (green-blind)
#6B685D
Tritanopia (blue-blind)
#BE0840
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2760;
/* rgb */ color: rgb(175, 39, 96);
/* oklch */ color: oklch(50.8% 0.176 0.7);
Tailwind
colors: {
  custom: {
    50: '#cc6f8d',
    500: '#af2760',
    950: '#000000',
  },
}
SCSS
$custom: #af2760;
$custom-light: #cc6f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2760",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 96
  },
  "hsl": {
    "h": 334.853,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50815,
    "c": 0.17631,
    "h": 0.7
  },
  "luminance": 0.1141
}

Semantic roles & 50–950 ramp

primary
#AF2760
secondary
#6BC6A0
accent
#E7A141
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2760

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

Preview Lab → · Contrast checker → · Palette generator →

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