#AF236A#AF236A

#AF236A is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.9% C 0.184 H 355.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#AF236A
RGBrgb(175, 35, 106)
HSLhsl(330, 67%, 41%)
HSVhsv(330, 80%, 69%)
CMYKcmyk(0%, 80%, 39.4%, 31.4%)
CIE-LABlab(40.18, 59.56, -5.80)
CIE-LCHlch(40.18, 59.84, 354.44°)
OKLaboklab(50.86% 0.1832 -0.0145)
OKLCHoklch(50.86% 0.184 355.5)
XYZxyz(20.8832, 11.3593, 14.7257)
Luminance0.1136 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF236A #23AF68
analogous
#AE23AF #AF236A #AF2324
triadic
#AF236A #6AAF23 #236AAF
tetradic
#AF236A #AFAE23 #23AF68 #2324AF
square
#AF236A #AFAE23 #23AF68 #2324AF
split-complementary
#AF236A #24AF23 #23AFAE
monochromatic
#490F2C #7C194B #AF236A #D73889 #E16BA7

Accessibility & contrast

On white

6.42
#AF236A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AF236A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF236A
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF236A#FFFFFF#000000##FFFFFF
##AF236A1.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6C
Deuteranopia (green-blind)
#686867
Tritanopia (blue-blind)
#BD0B44
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af236a;
/* rgb */ color: rgb(175, 35, 106);
/* oklch */ color: oklch(50.9% 0.184 355.5);
Tailwind
colors: {
  custom: {
    50: '#cc6e94',
    500: '#af236a',
    950: '#000000',
  },
}
SCSS
$custom: #af236a;
$custom-light: #cc6e94;
$custom-dark: #000000;
JSON
{
  "hex": "#af236a",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 106
  },
  "hsl": {
    "h": 329.571,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50857,
    "c": 0.18379,
    "h": 355.5
  },
  "luminance": 0.11357
}

Semantic roles & 50–950 ramp

primary
#AF236A
secondary
#66C796
accent
#EA933E
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF236A

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

Preview Lab → · Contrast checker → · Palette generator →

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