#D438B1#D438B1

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

Color values

HEX#D438B1
RGBrgb(212, 56, 177)
HSLhsl(313, 64%, 53%)
HSVhsv(313, 74%, 83%)
CMYKcmyk(0%, 73.6%, 16.5%, 16.9%)
CIE-LABlab(51.84, 71.02, -30.36)
CIE-LCHlch(51.84, 77.24, 336.85°)
OKLaboklab(61.48% 0.2107 -0.0823)
OKLCHoklch(61.48% 0.226 338.7)
XYZxyz(36.5022, 20.0032, 43.5251)
Luminance0.2000 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D438B1 #38D45B
analogous
#A938D4 #D438B1 #D43863
triadic
#D438B1 #B1D438 #38B1D4
tetradic
#D438B1 #D4A938 #38D45B #3863D4
square
#D438B1 #D4A938 #38D45B #3863D4
split-complementary
#D438B1 #63D438 #38D4A9
monochromatic
#781A63 #AA258C #D438B1 #DF6AC5 #EA9DD8

Accessibility & contrast

On white

4.20
#D438B1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#D438B1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D438B1
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D438B1#FFFFFF#000000##000000
##D438B11.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#406CB4
Deuteranopia (green-blind)
#7484AD
Tritanopia (blue-blind)
#E03F71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #d438b1;
/* rgb */ color: rgb(212, 56, 177);
/* oklch */ color: oklch(61.5% 0.226 338.7);
Tailwind
colors: {
  custom: {
    50: '#e57dc8',
    500: '#d438b1',
    950: '#000000',
  },
}
SCSS
$custom: #d438b1;
$custom-light: #e57dc8;
$custom-dark: #000000;
JSON
{
  "hex": "#d438b1",
  "rgb": {
    "r": 212,
    "g": 56,
    "b": 177
  },
  "hsl": {
    "h": 313.462,
    "s": 64.463,
    "l": 52.549
  },
  "oklch": {
    "l": 0.61481,
    "c": 0.22622,
    "h": 338.7
  },
  "luminance": 0.2
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #D438B1

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

Preview Lab → · Contrast checker → · Palette generator →

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