#AF2D65#AF2D65

#AF2D65 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.5% C 0.172 H 359.1°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AF2D65
RGBrgb(175, 45, 101)
HSLhsl(334, 59%, 43%)
HSVhsv(334, 74%, 69%)
CMYKcmyk(0%, 74.3%, 42.3%, 31.4%)
CIE-LABlab(41.11, 55.96, -1.29)
CIE-LCHlch(41.11, 55.97, 358.68°)
OKLaboklab(51.49% 0.1718 -0.0027)
OKLCHoklch(51.49% 0.172 359.1)
XYZxyz(20.9681, 11.9330, 13.5085)
Luminance0.1193 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2D65 #2DAF77
analogous
#AF2DA6 #AF2D65 #AF362D
triadic
#AF2D65 #65AF2D #2D65AF
tetradic
#AF2D65 #A6AF2D #2DAF77 #362DAF
square
#AF2D65 #A6AF2D #2DAF77 #362DAF
split-complementary
#AF2D65 #2DAF36 #2DA6AF
monochromatic
#4E142D #7E2049 #AF2D65 #D04983 #DD7AA4

Accessibility & contrast

On white

6.20
#AF2D65 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2D65 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2D65
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2D65#FFFFFF#000000##FFFFFF
##AF2D651.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495166
Deuteranopia (green-blind)
#6C6A62
Tritanopia (blue-blind)
#BE1945
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2d65;
/* rgb */ color: rgb(175, 45, 101);
/* oklch */ color: oklch(51.5% 0.172 359.1);
Tailwind
colors: {
  custom: {
    50: '#cc7290',
    500: '#af2d65',
    950: '#000000',
  },
}
SCSS
$custom: #af2d65;
$custom-light: #cc7290;
$custom-dark: #000000;
JSON
{
  "hex": "#af2d65",
  "rgb": {
    "r": 175,
    "g": 45,
    "b": 101
  },
  "hsl": {
    "h": 334.154,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.51485,
    "c": 0.17178,
    "h": 359.1
  },
  "luminance": 0.1193
}

Semantic roles & 50–950 ramp

primary
#AF2D65
secondary
#73C5A2
accent
#E29F46
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF2D65

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

Preview Lab → · Contrast checker → · Palette generator →

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