#D7438C#D7438C

#D7438C is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.4% C 0.195 H 354.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#D7438C
RGBrgb(215, 67, 140)
HSLhsl(330, 65%, 55%)
HSVhsv(330, 69%, 84%)
CMYKcmyk(0%, 68.8%, 34.9%, 15.7%)
CIE-LABlab(52.24, 63.45, -7.85)
CIE-LCHlch(52.24, 63.93, 352.95°)
OKLaboklab(61.4% 0.1942 -0.0199)
OKLCHoklch(61.4% 0.195 354.1)
XYZxyz(34.7672, 20.3589, 26.9046)
Luminance0.2036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7438C #43D78E
analogous
#D743D6 #D7438C #D74443
triadic
#D7438C #8CD743 #438CD7
tetradic
#D7438C #D6D743 #43D78E #4443D7
square
#D7438C #D6D743 #43D78E #4443D7
split-complementary
#D7438C #43D744 #43D6D7
monochromatic
#841C4F #B6276D #D7438C #E275AB #ECA8CA

Accessibility & contrast

On white

4.14
#D7438C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#D7438C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7438C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7438C#FFFFFF#000000##000000
##D7438C1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8E
Deuteranopia (green-blind)
#868789
Tritanopia (blue-blind)
#E73762
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d7438c;
/* rgb */ color: rgb(215, 67, 140);
/* oklch */ color: oklch(61.4% 0.195 354.1);
Tailwind
colors: {
  custom: {
    50: '#e882ad',
    500: '#d7438c',
    950: '#000000',
  },
}
SCSS
$custom: #d7438c;
$custom-light: #e882ad;
$custom-dark: #000000;
JSON
{
  "hex": "#d7438c",
  "rgb": {
    "r": 215,
    "g": 67,
    "b": 140
  },
  "hsl": {
    "h": 330.405,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61397,
    "c": 0.19521,
    "h": 354.1
  },
  "luminance": 0.20355
}

Semantic roles & 50–950 ramp

primary
#D7438C
secondary
#9CDABB
accent
#E89540
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D7438C

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

Preview Lab → · Contrast checker → · Palette generator →

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