#AF236E#AF236E

#AF236E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 51.0% C 0.186 H 353.6°. Best body text is #FFFFFF at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#AF236E
RGBrgb(175, 35, 110)
HSLhsl(328, 67%, 41%)
HSVhsv(328, 80%, 69%)
CMYKcmyk(0%, 80%, 37.1%, 31.4%)
CIE-LABlab(40.32, 59.98, -8.10)
CIE-LCHlch(40.32, 60.52, 352.31°)
OKLaboklab(51.01% 0.1844 -0.0207)
OKLCHoklch(51.01% 0.186 353.6)
XYZxyz(21.0961, 11.4445, 15.8469)
Luminance0.1144 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF236E #23AF64
analogous
#AA23AF #AF236E #AF2328
triadic
#AF236E #6EAF23 #236EAF
tetradic
#AF236E #AFAA23 #23AF64 #2328AF
square
#AF236E #AFAA23 #23AF64 #2328AF
split-complementary
#AF236E #28AF23 #23AFAA
monochromatic
#490F2E #7C194E #AF236E #D7388D #E16BAA

Accessibility & contrast

On white

6.39
#AF236E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AF236E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF236E
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF236E#FFFFFF#000000##FFFFFF
##AF236E1.006.393.296.39
#FFFFFF6.391.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#404F70
Deuteranopia (green-blind)
#67686B
Tritanopia (blue-blind)
#BD1046
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af236e;
/* rgb */ color: rgb(175, 35, 110);
/* oklch */ color: oklch(51.0% 0.186 353.6);
Tailwind
colors: {
  custom: {
    50: '#cc6e97',
    500: '#af236e',
    950: '#000000',
  },
}
SCSS
$custom: #af236e;
$custom-light: #cc6e97;
$custom-dark: #000000;
JSON
{
  "hex": "#af236e",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 110
  },
  "hsl": {
    "h": 327.857,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51005,
    "c": 0.18551,
    "h": 353.6
  },
  "luminance": 0.11442
}

Semantic roles & 50–950 ramp

primary
#AF236E
secondary
#66C793
accent
#EA8E3E
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14080D
muted
#837B7E

Preview Lab

Preview with #AF236E

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

Preview Lab → · Contrast checker → · Palette generator →

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