#AF2C6B#AF2C6B

#AF2C6B is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.6% C 0.175 H 356.0°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AF2C6B
RGBrgb(175, 44, 107)
HSLhsl(331, 60%, 43%)
HSVhsv(331, 75%, 69%)
CMYKcmyk(0%, 74.9%, 38.9%, 31.4%)
CIE-LABlab(41.18, 56.91, -4.93)
CIE-LCHlch(41.18, 57.13, 355.05°)
OKLaboklab(51.6% 0.1748 -0.0123)
OKLCHoklch(51.6% 0.175 356)
XYZxyz(21.2352, 11.9795, 15.1011)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C6B #2CAF70
analogous
#AF2CAC #AF2C6B #AF2F2C
triadic
#AF2C6B #6BAF2C #2C6BAF
tetradic
#AF2C6B #ACAF2C #2CAF70 #2F2CAF
square
#AF2C6B #ACAF2C #2CAF70 #2F2CAF
split-complementary
#AF2C6B #2CAF2F #2CACAF
monochromatic
#4D132F #7E204D #AF2C6B #D14789 #DD78A9

Accessibility & contrast

On white

6.18
#AF2C6B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AF2C6B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C6B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C6B#FFFFFF#000000##FFFFFF
##AF2C6B1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46526D
Deuteranopia (green-blind)
#6B6A68
Tritanopia (blue-blind)
#BD1C48
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2c6b;
/* rgb */ color: rgb(175, 44, 107);
/* oklch */ color: oklch(51.6% 0.175 356.0);
Tailwind
colors: {
  custom: {
    50: '#cc7195',
    500: '#af2c6b',
    950: '#000000',
  },
}
SCSS
$custom: #af2c6b;
$custom-light: #cc7195;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c6b",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 107
  },
  "hsl": {
    "h": 331.145,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.51603,
    "c": 0.17518,
    "h": 356
  },
  "luminance": 0.11977
}

Semantic roles & 50–950 ramp

primary
#AF2C6B
secondary
#72C59D
accent
#E39745
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14090D
muted
#837B7E

Preview Lab

Preview with #AF2C6B

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

Preview Lab → · Contrast checker → · Palette generator →

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