#AD238B#AD238B

#AD238B is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 51.9% C 0.200 H 340.4°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AD238B
RGBrgb(173, 35, 139)
HSLhsl(315, 66%, 41%)
HSVhsv(315, 80%, 68%)
CMYKcmyk(0%, 79.8%, 19.7%, 32.2%)
CIE-LABlab(41.14, 62.99, -24.83)
CIE-LCHlch(41.14, 67.70, 338.48°)
OKLaboklab(51.92% 0.1885 -0.0671)
OKLCHoklch(51.92% 0.2 340.4)
XYZxyz(22.4955, 11.9527, 25.5435)
Luminance0.1195 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AD238B #23AD45
analogous
#8A23AD #AD238B #AD2346
triadic
#AD238B #8BAD23 #238BAD
tetradic
#AD238B #AD8A23 #23AD45 #2346AD
square
#AD238B #AD8A23 #23AD45 #2346AD
split-complementary
#AD238B #46AD23 #23AD8A
monochromatic
#470E39 #7A1962 #AD238B #D637AF #E16AC3

Accessibility & contrast

On white

6.19
#AD238B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AD238B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AD238B
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AD238B#FFFFFF#000000##FFFFFF
##AD238B1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F538E
Deuteranopia (green-blind)
#5D6988
Tritanopia (blue-blind)
#B82856
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ad238b;
/* rgb */ color: rgb(173, 35, 139);
/* oklch */ color: oklch(51.9% 0.200 340.4);
Tailwind
colors: {
  custom: {
    50: '#ca6fad',
    500: '#ad238b',
    950: '#000000',
  },
}
SCSS
$custom: #ad238b;
$custom-light: #ca6fad;
$custom-dark: #000000;
JSON
{
  "hex": "#ad238b",
  "rgb": {
    "r": 173,
    "g": 35,
    "b": 139
  },
  "hsl": {
    "h": 314.783,
    "s": 66.346,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51922,
    "c": 0.20006,
    "h": 340.4
  },
  "luminance": 0.1195
}

Semantic roles & 50–950 ramp

primary
#AD238B
secondary
#65C77D
accent
#E9693F
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AD238B

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

Preview Lab → · Contrast checker → · Palette generator →

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