#D438B7#D438B7

#D438B7 is a mid, highly saturated pink. Relative luminance 0.202; OKLCH L 61.8% C 0.230 H 336.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#D438B7
RGBrgb(212, 56, 183)
HSLhsl(311, 64%, 53%)
HSVhsv(311, 74%, 83%)
CMYKcmyk(0%, 73.6%, 13.7%, 16.9%)
CIE-LABlab(52.12, 71.85, -33.43)
CIE-LCHlch(52.12, 79.25, 335.05°)
OKLaboklab(61.77% 0.2114 -0.091)
OKLCHoklch(61.77% 0.23 336.7)
XYZxyz(37.1135, 20.2477, 46.7441)
Luminance0.2024 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D438B7 #38D455
analogous
#A338D4 #D438B7 #D43869
triadic
#D438B7 #B7D438 #38B7D4
tetradic
#D438B7 #D4A338 #38D455 #3869D4
square
#D438B7 #D4A338 #38D455 #3869D4
split-complementary
#D438B7 #69D438 #38D4A3
monochromatic
#781A66 #AA2591 #D438B7 #DF6AC9 #EA9DDB

Accessibility & contrast

On white

4.16
#D438B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#D438B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D438B7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D438B7#FFFFFF#000000##000000
##D438B71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C6DBA
Deuteranopia (green-blind)
#7285B3
Tritanopia (blue-blind)
#DF4274
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d438b7;
/* rgb */ color: rgb(212, 56, 183);
/* oklch */ color: oklch(61.8% 0.230 336.7);
Tailwind
colors: {
  custom: {
    50: '#e57ecd',
    500: '#d438b7',
    950: '#000000',
  },
}
SCSS
$custom: #d438b7;
$custom-light: #e57ecd;
$custom-dark: #000000;
JSON
{
  "hex": "#d438b7",
  "rgb": {
    "r": 212,
    "g": 56,
    "b": 183
  },
  "hsl": {
    "h": 311.154,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61769,
    "c": 0.23015,
    "h": 336.7
  },
  "luminance": 0.20244
}

Semantic roles & 50–950 ramp

primary
#D438B7
secondary
#92D69F
accent
#E75F40
background
#FEF8FC
surface
#FDEFF9
border
#D5CAD2
text
#160B13
muted
#847C82

Preview Lab

Preview with #D438B7

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

Preview Lab → · Contrast checker → · Palette generator →

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