#AD238F#AD238F

#AD238F is a mid, highly saturated pink. Relative luminance 0.121; OKLCH L 52.1% C 0.203 H 338.8°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AD238F
RGBrgb(173, 35, 143)
HSLhsl(313, 66%, 41%)
HSVhsv(313, 80%, 68%)
CMYKcmyk(0%, 79.8%, 17.3%, 32.2%)
CIE-LABlab(41.33, 63.53, -26.98)
CIE-LCHlch(41.33, 69.02, 336.99°)
OKLaboklab(52.12% 0.189 -0.0732)
OKLCHoklch(52.12% 0.203 338.8)
XYZxyz(22.7931, 12.0717, 27.1110)
Luminance0.1207 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD238F #23AD41
analogous
#8623AD #AD238F #AD234A
triadic
#AD238F #8FAD23 #238FAD
tetradic
#AD238F #AD8623 #23AD41 #234AAD
square
#AD238F #AD8623 #23AD41 #234AAD
split-complementary
#AD238F #4AAD23 #23AD86
monochromatic
#470E3B #7A1965 #AD238F #D637B4 #E16AC7

Accessibility & contrast

On white

6.15
#AD238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AD238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD238F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD238F#FFFFFF#000000##FFFFFF
##AD238F1.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5492
Deuteranopia (green-blind)
#5B698C
Tritanopia (blue-blind)
#B72A58
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad238f;
/* rgb */ color: rgb(173, 35, 143);
/* oklch */ color: oklch(52.1% 0.203 338.8);
Tailwind
colors: {
  custom: {
    50: '#ca6fb0',
    500: '#ad238f',
    950: '#000000',
  },
}
SCSS
$custom: #ad238f;
$custom-light: #ca6fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ad238f",
  "rgb": {
    "r": 173,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 313.043,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.52119,
    "c": 0.20262,
    "h": 338.8
  },
  "luminance": 0.12069
}

Semantic roles & 50–950 ramp

primary
#AD238F
secondary
#65C77A
accent
#E9643F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD238F

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

Preview Lab → · Contrast checker → · Palette generator →

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