#AF2A65#AF2A65

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

Color values

HEX#AF2A65
RGBrgb(175, 42, 101)
HSLhsl(333, 61%, 43%)
HSVhsv(333, 76%, 69%)
CMYKcmyk(0%, 76%, 42.3%, 31.4%)
CIE-LABlab(40.76, 56.95, -1.81)
CIE-LCHlch(40.76, 56.98, 358.18°)
OKLaboklab(51.22% 0.175 -0.004)
OKLCHoklch(51.22% 0.175 358.7)
XYZxyz(20.8577, 11.7122, 13.4717)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2A65 #2AAF74
analogous
#AF2AA8 #AF2A65 #AF312A
triadic
#AF2A65 #65AF2A #2A65AF
tetradic
#AF2A65 #A8AF2A #2AAF74 #312AAF
square
#AF2A65 #A8AF2A #2AAF74 #312AAF
split-complementary
#AF2A65 #2AAF31 #2AA8AF
monochromatic
#4C122C #7E1E49 #AF2A65 #D24483 #DE75A4

Accessibility & contrast

On white

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

On black

3.34
#AF2A65 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF2A65#FFFFFF#000000##FFFFFF
##AF2A651.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#475066
Deuteranopia (green-blind)
#6B6962
Tritanopia (blue-blind)
#BE1444
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2a65;
/* rgb */ color: rgb(175, 42, 101);
/* oklch */ color: oklch(51.2% 0.175 358.7);
Tailwind
colors: {
  custom: {
    50: '#cc7090',
    500: '#af2a65',
    950: '#000000',
  },
}
SCSS
$custom: #af2a65;
$custom-light: #cc7090;
$custom-dark: #000000;
JSON
{
  "hex": "#af2a65",
  "rgb": {
    "r": 175,
    "g": 42,
    "b": 101
  },
  "hsl": {
    "h": 333.383,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.51224,
    "c": 0.175,
    "h": 358.7
  },
  "luminance": 0.11709
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF2A65

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

Preview Lab → · Contrast checker → · Palette generator →

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