#AF2B6E#AF2B6E

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

Color values

HEX#AF2B6E
RGBrgb(175, 43, 110)
HSLhsl(330, 61%, 43%)
HSVhsv(330, 75%, 69%)
CMYKcmyk(0%, 75.4%, 37.1%, 31.4%)
CIE-LABlab(41.17, 57.57, -6.83)
CIE-LCHlch(41.17, 57.97, 353.23°)
OKLaboklab(51.63% 0.1767 -0.0173)
OKLCHoklch(51.63% 0.178 354.4)
XYZxyz(21.3589, 11.9701, 15.9345)
Luminance0.1197 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B6E #2BAF6C
analogous
#AE2BAF #AF2B6E #AF2B2C
triadic
#AF2B6E #6EAF2B #2B6EAF
tetradic
#AF2B6E #AFAE2B #2BAF6C #2B2CAF
square
#AF2B6E #AFAE2B #2BAF6C #2B2CAF
split-complementary
#AF2B6E #2CAF2B #2BAFAE
monochromatic
#4D1330 #7E1F4F #AF2B6E #D1468D #DE77AB

Accessibility & contrast

On white

6.19
#AF2B6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AF2B6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B6E
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B6E#FFFFFF#000000##FFFFFF
##AF2B6E1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455270
Deuteranopia (green-blind)
#6A6A6B
Tritanopia (blue-blind)
#BD1C49
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2b6e;
/* rgb */ color: rgb(175, 43, 110);
/* oklch */ color: oklch(51.6% 0.178 354.4);
Tailwind
colors: {
  custom: {
    50: '#cc7197',
    500: '#af2b6e',
    950: '#000000',
  },
}
SCSS
$custom: #af2b6e;
$custom-light: #cc7197;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b6e",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 329.545,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51625,
    "c": 0.17755,
    "h": 354.4
  },
  "luminance": 0.11968
}

Semantic roles & 50–950 ramp

primary
#AF2B6E
secondary
#70C59A
accent
#E49344
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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