#AF2768#AF2768

#AF2768 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.1% C 0.179 H 356.8°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#AF2768
RGBrgb(175, 39, 104)
HSLhsl(331, 64%, 42%)
HSVhsv(331, 78%, 69%)
CMYKcmyk(0%, 77.7%, 40.6%, 31.4%)
CIE-LABlab(40.52, 58.19, -4.04)
CIE-LCHlch(40.52, 58.33, 356.03°)
OKLaboklab(51.08% 0.1789 -0.0099)
OKLCHoklch(51.08% 0.179 356.8)
XYZxyz(20.9049, 11.5672, 14.2259)
Luminance0.1156 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2768 #27AF6E
analogous
#AF27AC #AF2768 #AF2A27
triadic
#AF2768 #68AF27 #2768AF
tetradic
#AF2768 #ACAF27 #27AF6E #2A27AF
square
#AF2768 #ACAF27 #27AF6E #2A27AF
split-complementary
#AF2768 #27AF2A #27ACAF
monochromatic
#4B112D #7D1C4A #AF2768 #D43F86 #DF71A6

Accessibility & contrast

On white

6.34
#AF2768 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF2768 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2768
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2768#FFFFFF#000000##FFFFFF
##AF27681.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444F6A
Deuteranopia (green-blind)
#6A6965
Tritanopia (blue-blind)
#BE1144
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2768;
/* rgb */ color: rgb(175, 39, 104);
/* oklch */ color: oklch(51.1% 0.179 356.8);
Tailwind
colors: {
  custom: {
    50: '#cc6f93',
    500: '#af2768',
    950: '#000000',
  },
}
SCSS
$custom: #af2768;
$custom-light: #cc6f93;
$custom-dark: #000000;
JSON
{
  "hex": "#af2768",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 104
  },
  "hsl": {
    "h": 331.324,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51084,
    "c": 0.17917,
    "h": 356.8
  },
  "luminance": 0.11564
}

Semantic roles & 50–950 ramp

primary
#AF2768
secondary
#6BC69B
accent
#E79841
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2768

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

Preview Lab → · Contrast checker → · Palette generator →

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