#AF236B#AF236B

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

Color values

HEX#AF236B
RGBrgb(175, 35, 107)
HSLhsl(329, 67%, 41%)
HSVhsv(329, 80%, 69%)
CMYKcmyk(0%, 80%, 38.9%, 31.4%)
CIE-LABlab(40.21, 59.66, -6.38)
CIE-LCHlch(40.21, 60.00, 353.90°)
OKLaboklab(50.89% 0.1835 -0.0161)
OKLCHoklch(50.89% 0.184 355)
XYZxyz(20.9355, 11.3802, 15.0012)
Luminance0.1138 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF236B #23AF67
analogous
#AD23AF #AF236B #AF2325
triadic
#AF236B #6BAF23 #236BAF
tetradic
#AF236B #AFAD23 #23AF67 #2325AF
square
#AF236B #AFAD23 #23AF67 #2325AF
split-complementary
#AF236B #25AF23 #23AFAD
monochromatic
#490F2D #7C194C #AF236B #D7388A #E16BA8

Accessibility & contrast

On white

6.41
#AF236B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#AF236B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF236B
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF236B#FFFFFF#000000##FFFFFF
##AF236B1.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6D
Deuteranopia (green-blind)
#686868
Tritanopia (blue-blind)
#BD0C44
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af236b;
/* rgb */ color: rgb(175, 35, 107);
/* oklch */ color: oklch(50.9% 0.184 355.0);
Tailwind
colors: {
  custom: {
    50: '#cc6e95',
    500: '#af236b',
    950: '#000000',
  },
}
SCSS
$custom: #af236b;
$custom-light: #cc6e95;
$custom-dark: #000000;
JSON
{
  "hex": "#af236b",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 107
  },
  "hsl": {
    "h": 329.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50893,
    "c": 0.1842,
    "h": 355
  },
  "luminance": 0.11378
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF236B

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

Preview Lab → · Contrast checker → · Palette generator →

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