#D23FAB#D23FAB

#D23FAB is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.5% C 0.213 H 340.4°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#D23FAB
RGBrgb(210, 63, 171)
HSLhsl(316, 62%, 54%)
HSVhsv(316, 70%, 82%)
CMYKcmyk(0%, 70%, 18.6%, 17.6%)
CIE-LABlab(52.06, 67.41, -26.53)
CIE-LCHlch(52.06, 72.44, 338.52°)
OKLaboklab(61.49% 0.201 -0.0715)
OKLCHoklch(61.49% 0.213 340.4)
XYZxyz(35.7075, 20.2004, 40.5387)
Luminance0.2020 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23FAB #3FD266
analogous
#AF3FD2 #D23FAB #D23F61
triadic
#D23FAB #ABD23F #3FABD2
tetradic
#D23FAB #D2AF3F #3FD266 #3F61D2
square
#D23FAB #D2AF3F #3FD266 #3F61D2
split-complementary
#D23FAB #61D23F #3FD2AF
monochromatic
#7A1D61 #AC2889 #D23FAB #DE71C1 #E9A2D6

Accessibility & contrast

On white

4.17
#D23FAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#D23FAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D23FAB
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23FAB#FFFFFF#000000##000000
##D23FAB1.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#496DAE
Deuteranopia (green-blind)
#7885A8
Tritanopia (blue-blind)
#DE4370
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d23fab;
/* rgb */ color: rgb(210, 63, 171);
/* oklch */ color: oklch(61.5% 0.213 340.4);
Tailwind
colors: {
  custom: {
    50: '#e480c4',
    500: '#d23fab',
    950: '#000000',
  },
}
SCSS
$custom: #d23fab;
$custom-light: #e480c4;
$custom-dark: #000000;
JSON
{
  "hex": "#d23fab",
  "rgb": {
    "r": 210,
    "g": 63,
    "b": 171
  },
  "hsl": {
    "h": 315.918,
    "s": 62.025,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.21334,
    "h": 340.4
  },
  "luminance": 0.20197
}

Semantic roles & 50–950 ramp

primary
#D23FAB
secondary
#97D6A8
accent
#E56E43
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B12
muted
#847C81

Preview Lab

Preview with #D23FAB

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

Preview Lab → · Contrast checker → · Palette generator →

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