#AF2D6B#AF2D6B

#AF2D6B is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.174 H 356.1°. Best body text is #FFFFFF at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#AF2D6B
RGBrgb(175, 45, 107)
HSLhsl(331, 59%, 43%)
HSVhsv(331, 74%, 69%)
CMYKcmyk(0%, 74.3%, 38.9%, 31.4%)
CIE-LABlab(41.30, 56.58, -4.76)
CIE-LCHlch(41.30, 56.78, 355.20°)
OKLaboklab(51.69% 0.1737 -0.0118)
OKLCHoklch(51.69% 0.174 356.1)
XYZxyz(21.2729, 12.0549, 15.1137)
Luminance0.1205 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D6B #2DAF71
analogous
#AF2DAC #AF2D6B #AF302D
triadic
#AF2D6B #6BAF2D #2D6BAF
tetradic
#AF2D6B #ACAF2D #2DAF71 #302DAF
square
#AF2D6B #ACAF2D #2DAF71 #302DAF
split-complementary
#AF2D6B #2DAF30 #2DACAF
monochromatic
#4E142F #7E204D #AF2D6B #D04989 #DD7AA9

Accessibility & contrast

On white

6.16
#AF2D6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF2D6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D6B
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D6B#FFFFFF#000000##FFFFFF
##AF2D6B1.006.163.416.16
#FFFFFF6.161.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47526D
Deuteranopia (green-blind)
#6B6A68
Tritanopia (blue-blind)
#BD1D48
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2d6b;
/* rgb */ color: rgb(175, 45, 107);
/* oklch */ color: oklch(51.7% 0.174 356.1);
Tailwind
colors: {
  custom: {
    50: '#cc7295',
    500: '#af2d6b',
    950: '#000000',
  },
}
SCSS
$custom: #af2d6b;
$custom-light: #cc7295;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d6b",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 107
  },
  "hsl": {
    "h": 331.385,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.5169,
    "c": 0.17408,
    "h": 356.1
  },
  "luminance": 0.12052
}

Semantic roles & 50–950 ramp

primary
#AF2D6B
secondary
#73C59E
accent
#E29846
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2D6B

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

Preview Lab → · Contrast checker → · Palette generator →

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