#D438B2#D438B2

#D438B2 is a mid, highly saturated pink. Relative luminance 0.200; OKLCH L 61.5% C 0.227 H 338.3°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#D438B2
RGBrgb(212, 56, 178)
HSLhsl(313, 64%, 53%)
HSVhsv(313, 74%, 83%)
CMYKcmyk(0%, 73.6%, 16%, 16.9%)
CIE-LABlab(51.89, 71.16, -30.88)
CIE-LCHlch(51.89, 77.57, 336.54°)
OKLaboklab(61.53% 0.2109 -0.0837)
OKLCHoklch(61.53% 0.227 338.3)
XYZxyz(36.6023, 20.0432, 44.0519)
Luminance0.2004 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D438B2 #38D45A
analogous
#A838D4 #D438B2 #D43864
triadic
#D438B2 #B2D438 #38B2D4
tetradic
#D438B2 #D4A838 #38D45A #3864D4
square
#D438B2 #D4A838 #38D45A #3864D4
split-complementary
#D438B2 #64D438 #38D4A8
monochromatic
#781A63 #AA258D #D438B2 #DF6AC5 #EA9DD9

Accessibility & contrast

On white

4.19
#D438B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#D438B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D438B2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D438B2#FFFFFF#000000##000000
##D438B21.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#406CB5
Deuteranopia (green-blind)
#7484AE
Tritanopia (blue-blind)
#E04071
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d438b2;
/* rgb */ color: rgb(212, 56, 178);
/* oklch */ color: oklch(61.5% 0.227 338.3);
Tailwind
colors: {
  custom: {
    50: '#e57ec9',
    500: '#d438b2',
    950: '#000000',
  },
}
SCSS
$custom: #d438b2;
$custom-light: #e57ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#d438b2",
  "rgb": {
    "r": 212,
    "g": 56,
    "b": 178
  },
  "hsl": {
    "h": 313.077,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61528,
    "c": 0.22687,
    "h": 338.3
  },
  "luminance": 0.2004
}

Semantic roles & 50–950 ramp

primary
#D438B2
secondary
#92D6A1
accent
#E76540
background
#FEF8FC
surface
#FDEFF8
border
#D5CAD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #D438B2

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

Preview Lab → · Contrast checker → · Palette generator →

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