#D397C8#D397C8

#D397C8 is a light, moderate pink. Relative luminance 0.402; OKLCH L 75.0% C 0.096 H 333.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#D397C8
RGBrgb(211, 151, 200)
HSLhsl(311, 41%, 71%)
HSVhsv(311, 28%, 83%)
CMYKcmyk(0%, 28.4%, 5.2%, 17.3%)
CIE-LABlab(69.58, 30.28, -16.27)
CIE-LCHlch(69.58, 34.37, 331.75°)
OKLaboklab(74.96% 0.086 -0.0436)
OKLCHoklch(74.96% 0.096 333.1)
XYZxyz(48.3552, 40.1541, 59.8357)
Luminance0.4015 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D397C8 #97D3A2
analogous
#C097D3 #D397C8 #D397AA
triadic
#D397C8 #C8D397 #97C8D3
tetradic
#D397C8 #D3C097 #97D3A2 #97AAD3
square
#D397C8 #D3C097 #97D3A2 #97AAD3
split-complementary
#D397C8 #AAD397 #97D3C0
monochromatic
#A84797 #C16CB1 #D397C8 #E5C2DF #F6E9F4

Accessibility & contrast

On white

2.33
#D397C8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#D397C8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D397C8
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D397C8#FFFFFF#000000##000000
##D397C81.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#96A5CA
Deuteranopia (green-blind)
#A5ADC6
Tritanopia (blue-blind)
#D99AA8
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d397c8;
/* rgb */ color: rgb(211, 151, 200);
/* oklch */ color: oklch(75.0% 0.096 333.1);
Tailwind
colors: {
  custom: {
    50: '#e1b6d8',
    500: '#d397c8',
    950: '#000000',
  },
}
SCSS
$custom: #d397c8;
$custom-light: #e1b6d8;
$custom-dark: #000000;
JSON
{
  "hex": "#d397c8",
  "rgb": {
    "r": 211,
    "g": 151,
    "b": 200
  },
  "hsl": {
    "h": 311,
    "s": 40.541,
    "l": 70.98
  },
  "oklch": {
    "l": 0.74962,
    "c": 0.09638,
    "h": 333.1
  },
  "luminance": 0.40152
}

Semantic roles & 50–950 ramp

primary
#D397C8
secondary
#DBEBDE
accent
#B44A32
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151114
muted
#838083

Preview Lab

Preview with #D397C8

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

Preview Lab → · Contrast checker → · Palette generator →

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