#AF2B64#AF2B64

#AF2B64 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.174 H 359.3°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AF2B64
RGBrgb(175, 43, 100)
HSLhsl(334, 61%, 43%)
HSVhsv(334, 75%, 69%)
CMYKcmyk(0%, 75.4%, 42.9%, 31.4%)
CIE-LABlab(40.84, 56.53, -1.05)
CIE-LCHlch(40.84, 56.54, 358.93°)
OKLaboklab(51.28% 0.1736 -0.0021)
OKLCHoklch(51.28% 0.174 359.3)
XYZxyz(20.8449, 11.7645, 13.2272)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B64 #2BAF76
analogous
#AF2BA6 #AF2B64 #AF342B
triadic
#AF2B64 #64AF2B #2B64AF
tetradic
#AF2B64 #A6AF2B #2BAF76 #342BAF
square
#AF2B64 #A6AF2B #2BAF76 #342BAF
split-complementary
#AF2B64 #2BAF34 #2BA6AF
monochromatic
#4D132C #7E1F48 #AF2B64 #D14682 #DE77A3

Accessibility & contrast

On white

6.26
#AF2B64 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2B64
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B64#FFFFFF#000000##FFFFFF
##AF2B641.006.263.356.26
#FFFFFF6.261.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af2b64;
/* rgb */ color: rgb(175, 43, 100);
/* oklch */ color: oklch(51.3% 0.174 359.3);
Tailwind
colors: {
  custom: {
    50: '#cc7190',
    500: '#af2b64',
    950: '#000000',
  },
}
SCSS
$custom: #af2b64;
$custom-light: #cc7190;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b64",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 100
  },
  "hsl": {
    "h": 334.091,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51276,
    "c": 0.17359,
    "h": 359.3
  },
  "luminance": 0.11762
}

Semantic roles & 50–950 ramp

primary
#AF2B64
secondary
#70C5A1
accent
#E49F44
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2B64

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

Preview Lab → · Contrast checker → · Palette generator →

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