#D7438B#D7438B

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

Color values

HEX#D7438B
RGBrgb(215, 67, 139)
HSLhsl(331, 65%, 55%)
HSVhsv(331, 69%, 84%)
CMYKcmyk(0%, 68.8%, 35.3%, 15.7%)
CIE-LABlab(52.21, 63.34, -7.30)
CIE-LCHlch(52.21, 63.75, 353.43°)
OKLaboklab(61.36% 0.1939 -0.0185)
OKLCHoklch(61.36% 0.195 354.6)
XYZxyz(34.6938, 20.3295, 26.5180)
Luminance0.2032 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D7438B #43D78F
analogous
#D743D5 #D7438B #D74543
triadic
#D7438B #8BD743 #438BD7
tetradic
#D7438B #D5D743 #43D78F #4543D7
square
#D7438B #D5D743 #43D78F #4543D7
split-complementary
#D7438B #43D745 #43D5D7
monochromatic
#841C4E #B6276C #D7438B #E275AA #ECA8C9

Accessibility & contrast

On white

4.15
#D7438B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#D7438B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D7438B
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D7438B#FFFFFF#000000##000000
##D7438B1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6B8D
Deuteranopia (green-blind)
#868688
Tritanopia (blue-blind)
#E73661
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d7438b;
/* rgb */ color: rgb(215, 67, 139);
/* oklch */ color: oklch(61.4% 0.195 354.6);
Tailwind
colors: {
  custom: {
    50: '#e882ac',
    500: '#d7438b',
    950: '#000000',
  },
}
SCSS
$custom: #d7438b;
$custom-light: #e882ac;
$custom-dark: #000000;
JSON
{
  "hex": "#d7438b",
  "rgb": {
    "r": 215,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 330.811,
    "s": 64.912,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61362,
    "c": 0.19478,
    "h": 354.6
  },
  "luminance": 0.20325
}

Semantic roles & 50–950 ramp

primary
#D7438B
secondary
#9CDABC
accent
#E89640
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#170B10
muted
#857C7F

Preview Lab

Preview with #D7438B

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

Preview Lab → · Contrast checker → · Palette generator →

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