#AF2F6E#AF2F6E

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

Color values

HEX#AF2F6E
RGBrgb(175, 47, 110)
HSLhsl(330, 58%, 44%)
HSVhsv(330, 73%, 69%)
CMYKcmyk(0%, 73.1%, 37.1%, 31.4%)
CIE-LABlab(41.65, 56.21, -6.11)
CIE-LCHlch(41.65, 56.54, 353.80°)
OKLaboklab(51.98% 0.1724 -0.0154)
OKLCHoklch(51.98% 0.173 354.9)
XYZxyz(21.5116, 12.2754, 15.9854)
Luminance0.1227 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F6E #2FAF70
analogous
#AF2FAE #AF2F6E #AF302F
triadic
#AF2F6E #6EAF2F #2F6EAF
tetradic
#AF2F6E #AEAF2F #2FAF70 #302FAF
square
#AF2F6E #AEAF2F #2FAF70 #302FAF
split-complementary
#AF2F6E #2FAF30 #2FAEAF
monochromatic
#4F1531 #7F2250 #AF2F6E #CF4C8D #DC7CAB

Accessibility & contrast

On white

6.08
#AF2F6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2F6E
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F6E#FFFFFF#000000##FFFFFF
##AF2F6E1.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475370
Deuteranopia (green-blind)
#6B6B6B
Tritanopia (blue-blind)
#BD224A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2f6e;
/* rgb */ color: rgb(175, 47, 110);
/* oklch */ color: oklch(52.0% 0.173 354.9);
Tailwind
colors: {
  custom: {
    50: '#cc7397',
    500: '#af2f6e',
    950: '#000000',
  },
}
SCSS
$custom: #af2f6e;
$custom-light: #cc7397;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f6e",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 110
  },
  "hsl": {
    "h": 330.469,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51978,
    "c": 0.17309,
    "h": 354.9
  },
  "luminance": 0.12273
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2F6E

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

Preview Lab → · Contrast checker → · Palette generator →

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