#AF2767#AF2767

#AF2767 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.179 H 357.3°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF2767
RGBrgb(175, 39, 103)
HSLhsl(332, 64%, 42%)
HSVhsv(332, 78%, 69%)
CMYKcmyk(0%, 77.7%, 41.1%, 31.4%)
CIE-LABlab(40.49, 58.09, -3.46)
CIE-LCHlch(40.49, 58.20, 356.59°)
OKLaboklab(51.05% 0.1786 -0.0084)
OKLCHoklch(51.05% 0.179 357.3)
XYZxyz(20.8544, 11.5470, 13.9599)
Luminance0.1154 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2767 #27AF6F
analogous
#AF27AB #AF2767 #AF2B27
triadic
#AF2767 #67AF27 #2767AF
tetradic
#AF2767 #ABAF27 #27AF6F #2B27AF
square
#AF2767 #ABAF27 #27AF6F #2B27AF
split-complementary
#AF2767 #27AF2B #27ABAF
monochromatic
#4B112C #7D1C4A #AF2767 #D43F85 #DF71A5

Accessibility & contrast

On white

6.35
#AF2767 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2767
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2767#FFFFFF#000000##FFFFFF
##AF27671.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454F69
Deuteranopia (green-blind)
#6A6964
Tritanopia (blue-blind)
#BE1044
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2767;
/* rgb */ color: rgb(175, 39, 103);
/* oklch */ color: oklch(51.0% 0.179 357.3);
Tailwind
colors: {
  custom: {
    50: '#cc6f92',
    500: '#af2767',
    950: '#000000',
  },
}
SCSS
$custom: #af2767;
$custom-light: #cc6f92;
$custom-dark: #000000;
JSON
{
  "hex": "#af2767",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 103
  },
  "hsl": {
    "h": 331.765,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51049,
    "c": 0.17879,
    "h": 357.3
  },
  "luminance": 0.11544
}

Semantic roles & 50–950 ramp

primary
#AF2767
secondary
#6BC69C
accent
#E79941
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080D
muted
#837B7D

Preview Lab

Preview with #AF2767

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

Preview Lab → · Contrast checker → · Palette generator →

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