#AF2B60#AF2B60

#AF2B60 is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.172 H 1.3°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF2B60
RGBrgb(175, 43, 96)
HSLhsl(336, 61%, 43%)
HSVhsv(336, 75%, 69%)
CMYKcmyk(0%, 75.4%, 45.1%, 31.4%)
CIE-LABlab(40.72, 56.14, 1.28)
CIE-LCHlch(40.72, 56.15, 1.31°)
OKLaboklab(51.15% 0.1722 0.0039)
OKLCHoklch(51.15% 0.172 1.3)
XYZxyz(20.6560, 11.6890, 12.2325)
Luminance0.1169 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B60 #2BAF7A
analogous
#AF2BA2 #AF2B60 #AF382B
triadic
#AF2B60 #60AF2B #2B60AF
tetradic
#AF2B60 #A2AF2B #2BAF7A #382BAF
square
#AF2B60 #A2AF2B #2BAF7A #382BAF
split-complementary
#AF2B60 #2BAF38 #2BA2AF
monochromatic
#4D132A #7E1F45 #AF2B60 #D1467E #DE77A0

Accessibility & contrast

On white

6.29
#AF2B60 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF2B60
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B60#FFFFFF#000000##FFFFFF
##AF2B601.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495061
Deuteranopia (green-blind)
#6D695D
Tritanopia (blue-blind)
#BE1242
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2b60;
/* rgb */ color: rgb(175, 43, 96);
/* oklch */ color: oklch(51.1% 0.172 1.3);
Tailwind
colors: {
  custom: {
    50: '#cc718d',
    500: '#af2b60',
    950: '#000000',
  },
}
SCSS
$custom: #af2b60;
$custom-light: #cc718d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b60",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 96
  },
  "hsl": {
    "h": 335.909,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51146,
    "c": 0.17227,
    "h": 1.3
  },
  "luminance": 0.11686
}

Semantic roles & 50–950 ramp

primary
#AF2B60
secondary
#70C5A3
accent
#E4A444
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2B60

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

Preview Lab → · Contrast checker → · Palette generator →

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