#AF2A63#AF2A63

#AF2A63 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.2% C 0.174 H 359.7°. Best body text is #FFFFFF at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#AF2A63
RGBrgb(175, 42, 99)
HSLhsl(334, 61%, 43%)
HSVhsv(334, 76%, 69%)
CMYKcmyk(0%, 76%, 43.4%, 31.4%)
CIE-LABlab(40.69, 56.76, -0.64)
CIE-LCHlch(40.69, 56.76, 359.35°)
OKLaboklab(51.16% 0.1743 -0.001)
OKLCHoklch(51.16% 0.174 359.7)
XYZxyz(20.7609, 11.6734, 12.9619)
Luminance0.1167 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A63 #2AAF76
analogous
#AF2AA5 #AF2A63 #AF342A
triadic
#AF2A63 #63AF2A #2A63AF
tetradic
#AF2A63 #A5AF2A #2AAF76 #342AAF
square
#AF2A63 #A5AF2A #2AAF76 #342AAF
split-complementary
#AF2A63 #2AAF34 #2AA5AF
monochromatic
#4C122B #7E1E47 #AF2A63 #D24481 #DE75A2

Accessibility & contrast

On white

6.30
#AF2A63 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#AF2A63 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2A63
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2A63#FFFFFF#000000##FFFFFF
##AF2A631.006.303.336.30
#FFFFFF6.301.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485064
Deuteranopia (green-blind)
#6C6960
Tritanopia (blue-blind)
#BE1343
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2a63;
/* rgb */ color: rgb(175, 42, 99);
/* oklch */ color: oklch(51.2% 0.174 359.7);
Tailwind
colors: {
  custom: {
    50: '#cc708f',
    500: '#af2a63',
    950: '#000000',
  },
}
SCSS
$custom: #af2a63;
$custom-light: #cc708f;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a63",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 99
  },
  "hsl": {
    "h": 334.286,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51158,
    "c": 0.17429,
    "h": 359.7
  },
  "luminance": 0.11671
}

Semantic roles & 50–950 ramp

primary
#AF2A63
secondary
#6FC6A1
accent
#E49F43
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2A63

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

Preview Lab → · Contrast checker → · Palette generator →

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