#AF2761#AF2761

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

Color values

HEX#AF2761
RGBrgb(175, 39, 97)
HSLhsl(334, 64%, 42%)
HSVhsv(334, 78%, 69%)
CMYKcmyk(0%, 77.7%, 44.6%, 31.4%)
CIE-LABlab(40.30, 57.51, 0.04)
CIE-LCHlch(40.30, 57.51, 0.04°)
OKLaboklab(50.85% 0.1766 0.0008)
OKLCHoklch(50.85% 0.177 0.2)
XYZxyz(20.5640, 11.4308, 12.4304)
Luminance0.1143 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2761 #27AF75
analogous
#AF27A5 #AF2761 #AF3127
triadic
#AF2761 #61AF27 #2761AF
tetradic
#AF2761 #A5AF27 #27AF75 #3127AF
square
#AF2761 #A5AF27 #27AF75 #3127AF
split-complementary
#AF2761 #27AF31 #27A5AF
monochromatic
#4B112A #7D1C45 #AF2761 #D43F7F #DF71A0

Accessibility & contrast

On white

6.39
#AF2761 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF2761 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2761
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2761#FFFFFF#000000##FFFFFF
##AF27611.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474E62
Deuteranopia (green-blind)
#6B685E
Tritanopia (blue-blind)
#BE0A41
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2761;
/* rgb */ color: rgb(175, 39, 97);
/* oklch */ color: oklch(50.8% 0.177 0.2);
Tailwind
colors: {
  custom: {
    50: '#cc6f8d',
    500: '#af2761',
    950: '#000000',
  },
}
SCSS
$custom: #af2761;
$custom-light: #cc6f8d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2761",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 97
  },
  "hsl": {
    "h": 334.412,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.50847,
    "c": 0.17664,
    "h": 0.2
  },
  "luminance": 0.11428
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2761

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

Preview Lab → · Contrast checker → · Palette generator →

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