#AF2C60#AF2C60

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

Color values

HEX#AF2C60
RGBrgb(175, 44, 96)
HSLhsl(336, 60%, 43%)
HSVhsv(336, 75%, 69%)
CMYKcmyk(0%, 74.9%, 45.1%, 31.4%)
CIE-LABlab(40.84, 55.81, 1.46)
CIE-LCHlch(40.84, 55.83, 1.50°)
OKLaboklab(51.23% 0.1712 0.0044)
OKLCHoklch(51.23% 0.171 1.5)
XYZxyz(20.6928, 11.7626, 12.2448)
Luminance0.1176 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C60 #2CAF7B
analogous
#AF2CA1 #AF2C60 #AF392C
triadic
#AF2C60 #60AF2C #2C60AF
tetradic
#AF2C60 #A1AF2C #2CAF7B #392CAF
square
#AF2C60 #A1AF2C #2CAF7B #392CAF
split-complementary
#AF2C60 #2CAF39 #2CA1AF
monochromatic
#4D132A #7E2045 #AF2C60 #D1477E #DD78A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF2C60#FFFFFF#000000##FFFFFF
##AF2C601.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)
#4A5061
Deuteranopia (green-blind)
#6D695D
Tritanopia (blue-blind)
#BE1442
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af2c60;
/* rgb */ color: rgb(175, 44, 96);
/* oklch */ color: oklch(51.2% 0.171 1.5);
Tailwind
colors: {
  custom: {
    50: '#cc718d',
    500: '#af2c60',
    950: '#000000',
  },
}
SCSS
$custom: #af2c60;
$custom-light: #cc718d;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c60",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 96
  },
  "hsl": {
    "h": 336.183,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51234,
    "c": 0.17121,
    "h": 1.5
  },
  "luminance": 0.1176
}

Semantic roles & 50–950 ramp

primary
#AF2C60
secondary
#72C5A4
accent
#E3A445
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AF2C60

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

Preview Lab → · Contrast checker → · Palette generator →

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