#D23878#D23878

#D23878 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.9% C 0.196 H 0.1°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#D23878
RGBrgb(210, 56, 120)
HSLhsl(335, 63%, 52%)
HSVhsv(335, 73%, 82%)
CMYKcmyk(0%, 73.3%, 42.9%, 17.6%)
CIE-LABlab(49.36, 63.86, -0.17)
CIE-LCHlch(49.36, 63.86, 359.85°)
OKLaboklab(58.91% 0.196 0.0003)
OKLCHoklch(58.91% 0.196 0.1)
XYZxyz(31.3850, 17.8901, 19.5661)
Luminance0.1789 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D23878 #38D292
analogous
#D238C5 #D23878 #D24538
triadic
#D23878 #78D238 #3878D2
tetradic
#D23878 #C5D238 #38D292 #4538D2
square
#D23878 #C5D238 #38D292 #4538D2
split-complementary
#D23878 #38D245 #38C5D2
monochromatic
#751A40 #A7265B #D23878 #DD6A9A #E99CBC

Accessibility & contrast

On white

4.59
#D23878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#D23878 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #D23878
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D23878#FFFFFF#000000##FFFFFF
##D238781.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A637A
Deuteranopia (green-blind)
#838074
Tritanopia (blue-blind)
#E41F53
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #d23878;
/* rgb */ color: rgb(210, 56, 120);
/* oklch */ color: oklch(58.9% 0.196 0.1);
Tailwind
colors: {
  custom: {
    50: '#e57b9e',
    500: '#d23878',
    950: '#000000',
  },
}
SCSS
$custom: #d23878;
$custom-light: #e57b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#d23878",
  "rgb": {
    "r": 210,
    "g": 56,
    "b": 120
  },
  "hsl": {
    "h": 335.065,
    "s": 63.115,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58912,
    "c": 0.19595,
    "h": 0.1
  },
  "luminance": 0.17886
}

Semantic roles & 50–950 ramp

primary
#D23878
secondary
#91D5B9
accent
#E6A242
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#170A0E
muted
#857C7E

Preview Lab

Preview with #D23878

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

Preview Lab → · Contrast checker → · Palette generator →

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