#AF2E6B#AF2E6B

#AF2E6B is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.8% C 0.173 H 356.2°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#AF2E6B
RGBrgb(175, 46, 107)
HSLhsl(332, 58%, 43%)
HSVhsv(332, 74%, 69%)
CMYKcmyk(0%, 73.7%, 38.9%, 31.4%)
CIE-LABlab(41.43, 56.24, -4.57)
CIE-LCHlch(41.43, 56.42, 355.35°)
OKLaboklab(51.78% 0.1726 -0.0113)
OKLCHoklch(51.78% 0.173 356.2)
XYZxyz(21.3115, 12.1321, 15.1265)
Luminance0.1213 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2E6B #2EAF72
analogous
#AF2EAB #AF2E6B #AF312E
triadic
#AF2E6B #6BAF2E #2E6BAF
tetradic
#AF2E6B #ABAF2E #2EAF72 #312EAF
square
#AF2E6B #ABAF2E #2EAF72 #312EAF
split-complementary
#AF2E6B #2EAF31 #2EABAF
monochromatic
#4E1530 #7F214D #AF2E6B #D04B89 #DC7BA9

Accessibility & contrast

On white

6.13
#AF2E6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF2E6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2E6B
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2E6B#FFFFFF#000000##FFFFFF
##AF2E6B1.006.133.436.13
#FFFFFF6.131.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48526D
Deuteranopia (green-blind)
#6B6A68
Tritanopia (blue-blind)
#BD1F48
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2e6b;
/* rgb */ color: rgb(175, 46, 107);
/* oklch */ color: oklch(51.8% 0.173 356.2);
Tailwind
colors: {
  custom: {
    50: '#cc7295',
    500: '#af2e6b',
    950: '#000000',
  },
}
SCSS
$custom: #af2e6b;
$custom-light: #cc7295;
$custom-dark: #000000;
JSON
{
  "hex": "#af2e6b",
  "rgb": {
    "r": 175,
    "g": 46,
    "b": 107
  },
  "hsl": {
    "h": 331.628,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.5178,
    "c": 0.17296,
    "h": 356.2
  },
  "luminance": 0.12129
}

Semantic roles & 50–950 ramp

primary
#AF2E6B
secondary
#74C59F
accent
#E29846
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2E6B

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

Preview Lab → · Contrast checker → · Palette generator →

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