#AF2F65#AF2F65

#AF2F65 is a mid, vivid pink. Relative luminance 0.121; OKLCH L 51.7% C 0.170 H 359.4°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF2F65
RGBrgb(175, 47, 101)
HSLhsl(335, 58%, 44%)
HSVhsv(335, 73%, 69%)
CMYKcmyk(0%, 73.1%, 42.3%, 31.4%)
CIE-LABlab(41.36, 55.26, -0.92)
CIE-LCHlch(41.36, 55.27, 359.04°)
OKLaboklab(51.67% 0.1696 -0.0017)
OKLCHoklch(51.67% 0.17 359.4)
XYZxyz(21.0462, 12.0892, 13.5346)
Luminance0.1209 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2F65 #2FAF79
analogous
#AF2FA5 #AF2F65 #AF392F
triadic
#AF2F65 #65AF2F #2F65AF
tetradic
#AF2F65 #A5AF2F #2FAF79 #392FAF
square
#AF2F65 #A5AF2F #2FAF79 #392FAF
split-complementary
#AF2F65 #2FAF39 #2FA5AF
monochromatic
#4F152D #7F2249 #AF2F65 #CF4C83 #DC7CA5

Accessibility & contrast

On white

6.15
#AF2F65 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#AF2F65 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2F65
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2F65#FFFFFF#000000##FFFFFF
##AF2F651.006.153.426.15
#FFFFFF6.151.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5266
Deuteranopia (green-blind)
#6D6A62
Tritanopia (blue-blind)
#BE1D46
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af2f65;
/* rgb */ color: rgb(175, 47, 101);
/* oklch */ color: oklch(51.7% 0.170 359.4);
Tailwind
colors: {
  custom: {
    50: '#cc7290',
    500: '#af2f65',
    950: '#000000',
  },
}
SCSS
$custom: #af2f65;
$custom-light: #cc7290;
$custom-dark: #000000;
JSON
{
  "hex": "#af2f65",
  "rgb": {
    "r": 175,
    "g": 47,
    "b": 101
  },
  "hsl": {
    "h": 334.688,
    "s": 57.658,
    "l": 43.529
  },
  "oklch": {
    "l": 0.51667,
    "c": 0.16956,
    "h": 359.4
  },
  "luminance": 0.12087
}

Semantic roles & 50–950 ramp

primary
#AF2F65
secondary
#75C4A3
accent
#E1A047
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AF2F65

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

Preview Lab → · Contrast checker → · Palette generator →

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