#D398BC#D398BC

#D398BC is a light, moderate pink. Relative luminance 0.399; OKLCH L 74.7% C 0.085 H 342.1°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#D398BC
RGBrgb(211, 152, 188)
HSLhsl(323, 40%, 71%)
HSVhsv(323, 28%, 83%)
CMYKcmyk(0%, 28%, 10.9%, 17.3%)
CIE-LABlab(69.43, 27.65, -9.83)
CIE-LCHlch(69.43, 29.34, 340.42°)
OKLaboklab(74.72% 0.0806 -0.026)
OKLCHoklch(74.72% 0.085 342.1)
XYZxyz(47.1691, 39.9382, 52.7914)
Luminance0.3994 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D398BC #98D3AF
analogous
#CC98D3 #D398BC #D3989E
triadic
#D398BC #BCD398 #98BCD3
tetradic
#D398BC #D3CC98 #98D3AF #989ED3
square
#D398BC #D3CC98 #98D3AF #989ED3
split-complementary
#D398BC #9ED398 #98D3CC
monochromatic
#A94883 #C16DA0 #D398BC #E5C3D8 #F6EAF1

Accessibility & contrast

On white

2.34
#D398BC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#D398BC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D398BC
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D398BC#FFFFFF#000000##000000
##D398BC1.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9BA4BD
Deuteranopia (green-blind)
#A9ADBA
Tritanopia (blue-blind)
#DA98A4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #d398bc;
/* rgb */ color: rgb(211, 152, 188);
/* oklch */ color: oklch(74.7% 0.085 342.1);
Tailwind
colors: {
  custom: {
    50: '#e1b7d0',
    500: '#d398bc',
    950: '#000000',
  },
}
SCSS
$custom: #d398bc;
$custom-light: #e1b7d0;
$custom-dark: #000000;
JSON
{
  "hex": "#d398bc",
  "rgb": {
    "r": 211,
    "g": 152,
    "b": 188
  },
  "hsl": {
    "h": 323.39,
    "s": 40.136,
    "l": 71.176
  },
  "oklch": {
    "l": 0.74718,
    "c": 0.08463,
    "h": 342.1
  },
  "luminance": 0.39936
}

Semantic roles & 50–950 ramp

primary
#D398BC
secondary
#DCEBE2
accent
#B36532
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #D398BC

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

Preview Lab → · Contrast checker → · Palette generator →

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