#AF236C#AF236C

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

Color values

HEX#AF236C
RGBrgb(175, 35, 108)
HSLhsl(329, 67%, 41%)
HSVhsv(329, 80%, 69%)
CMYKcmyk(0%, 80%, 38.3%, 31.4%)
CIE-LABlab(40.25, 59.77, -6.95)
CIE-LCHlch(40.25, 60.17, 353.37°)
OKLaboklab(50.93% 0.1838 -0.0176)
OKLCHoklch(50.93% 0.185 354.5)
XYZxyz(20.9884, 11.4014, 15.2799)
Luminance0.1140 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF236C #23AF66
analogous
#AC23AF #AF236C #AF2326
triadic
#AF236C #6CAF23 #236CAF
tetradic
#AF236C #AFAC23 #23AF66 #2326AF
square
#AF236C #AFAC23 #23AF66 #2326AF
split-complementary
#AF236C #26AF23 #23AFAC
monochromatic
#490F2D #7C194D #AF236C #D7388B #E16BA9

Accessibility & contrast

On white

6.40
#AF236C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF236C
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF236C#FFFFFF#000000##FFFFFF
##AF236C1.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414E6E
Deuteranopia (green-blind)
#686869
Tritanopia (blue-blind)
#BD0D45
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af236c;
/* rgb */ color: rgb(175, 35, 108);
/* oklch */ color: oklch(50.9% 0.185 354.5);
Tailwind
colors: {
  custom: {
    50: '#cc6e96',
    500: '#af236c',
    950: '#000000',
  },
}
SCSS
$custom: #af236c;
$custom-light: #cc6e96;
$custom-dark: #000000;
JSON
{
  "hex": "#af236c",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 108
  },
  "hsl": {
    "h": 328.714,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.5093,
    "c": 0.18463,
    "h": 354.5
  },
  "luminance": 0.11399
}

Semantic roles & 50–950 ramp

primary
#AF236C
secondary
#66C795
accent
#EA903E
background
#FDF7F9
surface
#FAEDF1
border
#D3C8CB
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF236C

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

Preview Lab → · Contrast checker → · Palette generator →

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