#AF236F#AF236F

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

Color values

HEX#AF236F
RGBrgb(175, 35, 111)
HSLhsl(327, 67%, 41%)
HSVhsv(327, 80%, 69%)
CMYKcmyk(0%, 80%, 36.6%, 31.4%)
CIE-LABlab(40.36, 60.08, -8.67)
CIE-LCHlch(40.36, 60.71, 351.79°)
OKLaboklab(51.04% 0.1846 -0.0222)
OKLCHoklch(51.04% 0.186 353.1)
XYZxyz(21.1509, 11.4664, 16.1353)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF236F #23AF63
analogous
#A923AF #AF236F #AF2329
triadic
#AF236F #6FAF23 #236FAF
tetradic
#AF236F #AFA923 #23AF63 #2329AF
square
#AF236F #AFA923 #23AF63 #2329AF
split-complementary
#AF236F #29AF23 #23AFA9
monochromatic
#490F2E #7C194F #AF236F #D7388E #E16BAB

Accessibility & contrast

On white

6.38
#AF236F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF236F
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF236F#FFFFFF#000000##FFFFFF
##AF236F1.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4F71
Deuteranopia (green-blind)
#67686C
Tritanopia (blue-blind)
#BD1146
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af236f;
/* rgb */ color: rgb(175, 35, 111);
/* oklch */ color: oklch(51.0% 0.186 353.1);
Tailwind
colors: {
  custom: {
    50: '#cc6e98',
    500: '#af236f',
    950: '#000000',
  },
}
SCSS
$custom: #af236f;
$custom-light: #cc6e98;
$custom-dark: #000000;
JSON
{
  "hex": "#af236f",
  "rgb": {
    "r": 175,
    "g": 35,
    "b": 111
  },
  "hsl": {
    "h": 327.429,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51043,
    "c": 0.18596,
    "h": 353.1
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF236F

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

Preview Lab → · Contrast checker → · Palette generator →

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