#AF2766#AF2766

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

Color values

HEX#AF2766
RGBrgb(175, 39, 102)
HSLhsl(332, 64%, 42%)
HSVhsv(332, 78%, 69%)
CMYKcmyk(0%, 77.7%, 41.7%, 31.4%)
CIE-LABlab(40.45, 57.99, -2.88)
CIE-LCHlch(40.45, 58.06, 357.16°)
OKLaboklab(51.01% 0.1783 -0.0068)
OKLCHoklch(51.01% 0.178 357.8)
XYZxyz(20.8045, 11.5270, 13.6972)
Luminance0.1152 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2766 #27AF70
analogous
#AF27AA #AF2766 #AF2C27
triadic
#AF2766 #66AF27 #2766AF
tetradic
#AF2766 #AAAF27 #27AF70 #2C27AF
square
#AF2766 #AAAF27 #27AF70 #2C27AF
split-complementary
#AF2766 #27AF2C #27AAAF
monochromatic
#4B112C #7D1C49 #AF2766 #D43F84 #DF71A4

Accessibility & contrast

On white

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

On black

3.30
#AF2766 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2766#FFFFFF#000000##FFFFFF
##AF27661.006.353.306.35
#FFFFFF6.351.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454F68
Deuteranopia (green-blind)
#6A6963
Tritanopia (blue-blind)
#BE0F43
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af2766;
/* rgb */ color: rgb(175, 39, 102);
/* oklch */ color: oklch(51.0% 0.178 357.8);
Tailwind
colors: {
  custom: {
    50: '#cc6f91',
    500: '#af2766',
    950: '#000000',
  },
}
SCSS
$custom: #af2766;
$custom-light: #cc6f91;
$custom-dark: #000000;
JSON
{
  "hex": "#af2766",
  "rgb": {
    "r": 175,
    "g": 39,
    "b": 102
  },
  "hsl": {
    "h": 332.206,
    "s": 63.551,
    "l": 41.961
  },
  "oklch": {
    "l": 0.51014,
    "c": 0.17841,
    "h": 357.8
  },
  "luminance": 0.11524
}

Semantic roles & 50–950 ramp

primary
#AF2766
secondary
#6BC69C
accent
#E79A41
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2766

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

Preview Lab → · Contrast checker → · Palette generator →

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