#AF2B68#AF2B68

#AF2B68 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.4% C 0.175 H 357.3°. Best body text is #FFFFFF at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#AF2B68
RGBrgb(175, 43, 104)
HSLhsl(332, 61%, 43%)
HSVhsv(332, 75%, 69%)
CMYKcmyk(0%, 75.4%, 40.6%, 31.4%)
CIE-LABlab(40.97, 56.93, -3.38)
CIE-LCHlch(40.97, 57.03, 356.61°)
OKLaboklab(51.41% 0.1749 -0.0081)
OKLCHoklch(51.41% 0.175 357.3)
XYZxyz(21.0433, 11.8439, 14.2720)
Luminance0.1184 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2B68 #2BAF72
analogous
#AF2BAA #AF2B68 #AF302B
triadic
#AF2B68 #68AF2B #2B68AF
tetradic
#AF2B68 #AAAF2B #2BAF72 #302BAF
square
#AF2B68 #AAAF2B #2BAF72 #302BAF
split-complementary
#AF2B68 #2BAF30 #2BAAAF
monochromatic
#4D132E #7E1F4B #AF2B68 #D14686 #DE77A6

Accessibility & contrast

On white

6.23
#AF2B68 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.37
#AF2B68 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2B68
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2B68#FFFFFF#000000##FFFFFF
##AF2B681.006.233.376.23
#FFFFFF6.231.0021.001.00
#0000003.3721.001.0021.00
##FFFFFF6.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#47516A
Deuteranopia (green-blind)
#6B6A65
Tritanopia (blue-blind)
#BD1846
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af2b68;
/* rgb */ color: rgb(175, 43, 104);
/* oklch */ color: oklch(51.4% 0.175 357.3);
Tailwind
colors: {
  custom: {
    50: '#cc7193',
    500: '#af2b68',
    950: '#000000',
  },
}
SCSS
$custom: #af2b68;
$custom-light: #cc7193;
$custom-dark: #000000;
JSON
{
  "hex": "#af2b68",
  "rgb": {
    "r": 175,
    "g": 43,
    "b": 104
  },
  "hsl": {
    "h": 332.273,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.51411,
    "c": 0.17506,
    "h": 357.3
  },
  "luminance": 0.11841
}

Semantic roles & 50–950 ramp

primary
#AF2B68
secondary
#70C59E
accent
#E49A44
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF2B68

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

Preview Lab → · Contrast checker → · Palette generator →

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