#AF2677#AF2677

#AF2677 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.6% C 0.187 H 349.7°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#AF2677
RGBrgb(175, 38, 119)
HSLhsl(325, 64%, 42%)
HSVhsv(325, 78%, 69%)
CMYKcmyk(0%, 78.3%, 32%, 31.4%)
CIE-LABlab(40.95, 60.13, -12.76)
CIE-LCHlch(40.95, 61.46, 348.02°)
OKLaboklab(51.58% 0.184 -0.0333)
OKLCHoklch(51.58% 0.187 349.7)
XYZxyz(21.7033, 11.8347, 18.5906)
Luminance0.1183 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2677 #26AF5E
analogous
#A326AF #AF2677 #AF2632
triadic
#AF2677 #77AF26 #2677AF
tetradic
#AF2677 #AFA326 #26AF5E #2632AF
square
#AF2677 #AFA326 #26AF5E #2632AF
split-complementary
#AF2677 #32AF26 #26AFA3
monochromatic
#4A1033 #7D1B55 #AF2677 #D53D97 #E070B2

Accessibility & contrast

On white

6.24
#AF2677 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF2677 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2677
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2677#FFFFFF#000000##FFFFFF
##AF26771.006.243.376.24
#FFFFFF6.241.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5179
Deuteranopia (green-blind)
#666974
Tritanopia (blue-blind)
#BC1C4C
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2677;
/* rgb */ color: rgb(175, 38, 119);
/* oklch */ color: oklch(51.6% 0.187 349.7);
Tailwind
colors: {
  custom: {
    50: '#cc6f9e',
    500: '#af2677',
    950: '#000000',
  },
}
SCSS
$custom: #af2677;
$custom-light: #cc6f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#af2677",
  "rgb": {
    "r": 175,
    "g": 38,
    "b": 119
  },
  "hsl": {
    "h": 324.526,
    "s": 64.319,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51575,
    "c": 0.18698,
    "h": 349.7
  },
  "luminance": 0.11832
}

Semantic roles & 50–950 ramp

primary
#AF2677
secondary
#6AC790
accent
#E78540
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080E
muted
#837B7E

Preview Lab

Preview with #AF2677

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

Preview Lab → · Contrast checker → · Palette generator →

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