#D4238F#D4238F

#D4238F is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.6% C 0.226 H 349.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#D4238F
RGBrgb(212, 35, 143)
HSLhsl(323, 72%, 48%)
HSVhsv(323, 83%, 83%)
CMYKcmyk(0%, 83.5%, 32.5%, 16.9%)
CIE-LABlab(48.49, 72.41, -15.34)
CIE-LCHlch(48.49, 74.01, 348.04°)
OKLaboklab(58.6% 0.2221 -0.0401)
OKLCHoklch(58.6% 0.226 349.8)
XYZxyz(32.7123, 17.1863, 27.5759)
Luminance0.1718 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D4238F #23D468
analogous
#C023D4 #D4238F #D42336
triadic
#D4238F #8FD423 #238FD4
tetradic
#D4238F #D4C023 #23D468 #2336D4
square
#D4238F #D4C023 #23D468 #2336D4
split-complementary
#D4238F #36D423 #23D4C0
monochromatic
#6B1248 #9F1A6C #D4238F #E252AA #EB86C4

Accessibility & contrast

On white

4.73
#D4238F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#D4238F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #D4238F
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D4238F#FFFFFF#000000##FFFFFF
##D4238F1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#466092
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#E40E58
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #d4238f;
/* rgb */ color: rgb(212, 35, 143);
/* oklch */ color: oklch(58.6% 0.226 349.8);
Tailwind
colors: {
  custom: {
    50: '#e775af',
    500: '#d4238f',
    950: '#000000',
  },
}
SCSS
$custom: #d4238f;
$custom-light: #e775af;
$custom-dark: #000000;
JSON
{
  "hex": "#d4238f",
  "rgb": {
    "r": 212,
    "g": 35,
    "b": 143
  },
  "hsl": {
    "h": 323.39,
    "s": 71.66,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58598,
    "c": 0.22569,
    "h": 349.8
  },
  "luminance": 0.17182
}

Semantic roles & 50–950 ramp

primary
#D4238F
secondary
#7ED4A0
accent
#EE8039
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#170A10
muted
#857C7F

Preview Lab

Preview with #D4238F

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

Preview Lab → · Contrast checker → · Palette generator →

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