#AF2A66#AF2A66

#AF2A66 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.3% C 0.175 H 358.2°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#AF2A66
RGBrgb(175, 42, 102)
HSLhsl(333, 61%, 43%)
HSVhsv(333, 76%, 69%)
CMYKcmyk(0%, 76%, 41.7%, 31.4%)
CIE-LABlab(40.79, 57.05, -2.39)
CIE-LCHlch(40.79, 57.10, 357.60°)
OKLaboklab(51.26% 0.1753 -0.0056)
OKLCHoklch(51.26% 0.175 358.2)
XYZxyz(20.9070, 11.7319, 13.7313)
Luminance0.1173 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A66 #2AAF73
analogous
#AF2AA9 #AF2A66 #AF302A
triadic
#AF2A66 #66AF2A #2A66AF
tetradic
#AF2A66 #A9AF2A #2AAF73 #302AAF
square
#AF2A66 #A9AF2A #2AAF73 #302AAF
split-complementary
#AF2A66 #2AAF30 #2AA9AF
monochromatic
#4C122C #7E1E49 #AF2A66 #D24484 #DE75A5

Accessibility & contrast

On white

6.28
#AF2A66 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AF2A66 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A66
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A66#FFFFFF#000000##FFFFFF
##AF2A661.006.283.356.28
#FFFFFF6.281.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475067
Deuteranopia (green-blind)
#6B6963
Tritanopia (blue-blind)
#BE1544
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2a66;
/* rgb */ color: rgb(175, 42, 102);
/* oklch */ color: oklch(51.3% 0.175 358.2);
Tailwind
colors: {
  custom: {
    50: '#cc7091',
    500: '#af2a66',
    950: '#000000',
  },
}
SCSS
$custom: #af2a66;
$custom-light: #cc7091;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a66",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 102
  },
  "hsl": {
    "h": 332.932,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51258,
    "c": 0.17536,
    "h": 358.2
  },
  "luminance": 0.11729
}

Semantic roles & 50–950 ramp

primary
#AF2A66
secondary
#6FC69F
accent
#E49C43
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2A66

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

Preview Lab → · Contrast checker → · Palette generator →

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