#AF2F6D#AF2F6D

#AF2F6D is a mid, vivid pink. Relative luminance 0.123; OKLCH L 51.9% C 0.173 H 355.4°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#AF2F6D
RGBrgb(175, 47, 109)
HSLhsl(331, 58%, 44%)
HSVhsv(331, 73%, 69%)
CMYKcmyk(0%, 73.1%, 37.7%, 31.4%)
CIE-LABlab(41.62, 56.10, -5.54)
CIE-LCHlch(41.62, 56.38, 354.36°)
OKLaboklab(51.94% 0.1721 -0.0139)
OKLCHoklch(51.94% 0.173 355.4)
XYZxyz(21.4574, 12.2537, 15.7003)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F6D #2FAF71
analogous
#AF2FAD #AF2F6D #AF312F
triadic
#AF2F6D #6DAF2F #2F6DAF
tetradic
#AF2F6D #ADAF2F #2FAF71 #312FAF
square
#AF2F6D #ADAF2F #2FAF71 #312FAF
split-complementary
#AF2F6D #2FAF31 #2FADAF
monochromatic
#4F1531 #7F224F #AF2F6D #CF4C8C #DC7CAB

Accessibility & contrast

On white

6.09
#AF2F6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF2F6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F6D
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F6D#FFFFFF#000000##FFFFFF
##AF2F6D1.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47536F
Deuteranopia (green-blind)
#6B6B6A
Tritanopia (blue-blind)
#BD214A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2f6d;
/* rgb */ color: rgb(175, 47, 109);
/* oklch */ color: oklch(51.9% 0.173 355.4);
Tailwind
colors: {
  custom: {
    50: '#cc7396',
    500: '#af2f6d',
    950: '#000000',
  },
}
SCSS
$custom: #af2f6d;
$custom-light: #cc7396;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f6d",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 109
  },
  "hsl": {
    "h": 330.938,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51942,
    "c": 0.17266,
    "h": 355.4
  },
  "luminance": 0.12251
}

Semantic roles & 50–950 ramp

primary
#AF2F6D
secondary
#75C49E
accent
#E19647
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2F6D

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

Preview Lab → · Contrast checker → · Palette generator →

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