#D97BA2#D97BA2

#D97BA2 is a light, vivid pink. Relative luminance 0.315; OKLCH L 69.7% C 0.125 H 354.5°. Best body text is #000000 at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#D97BA2
RGBrgb(217, 123, 162)
HSLhsl(335, 55%, 67%)
HSVhsv(335, 43%, 85%)
CMYKcmyk(0%, 43.3%, 25.3%, 14.9%)
CIE-LABlab(62.95, 41.19, -4.73)
CIE-LCHlch(62.95, 41.47, 353.45°)
OKLaboklab(69.68% 0.1241 -0.012)
OKLCHoklch(69.68% 0.125 354.5)
XYZxyz(42.2210, 31.5295, 38.0375)
Luminance0.3153 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D97BA2 #7BD9B2
analogous
#D97BD1 #D97BA2 #D9837B
triadic
#D97BA2 #A2D97B #7BA2D9
tetradic
#D97BA2 #D1D97B #7BD9B2 #837BD9
square
#D97BA2 #D1D97B #7BD9B2 #837BD9
split-complementary
#D97BA2 #7BD983 #7BD1D9
monochromatic
#A93163 #CB4B81 #D97BA2 #E7ABC3 #F4DAE5

Accessibility & contrast

On white

2.87
#D97BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.31
#D97BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D97BA2
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D97BA2#FFFFFF#000000##000000
##D97BA21.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#868EA3
Deuteranopia (green-blind)
#9E9FA0
Tritanopia (blue-blind)
#E67789
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #d97ba2;
/* rgb */ color: rgb(217, 123, 162);
/* oklch */ color: oklch(69.7% 0.125 354.5);
Tailwind
colors: {
  custom: {
    50: '#e7a3bd',
    500: '#d97ba2',
    950: '#000000',
  },
}
SCSS
$custom: #d97ba2;
$custom-light: #e7a3bd;
$custom-dark: #000000;
JSON
{
  "hex": "#d97ba2",
  "rgb": {
    "r": 217,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 335.106,
    "s": 55.294,
    "l": 66.667
  },
  "oklch": {
    "l": 0.6968,
    "c": 0.12468,
    "h": 354.5
  },
  "luminance": 0.31526
}

Semantic roles & 50–950 ramp

primary
#D97BA2
secondary
#C9E7DA
accent
#C38023
background
#FEFAFB
surface
#FDF4F6
border
#D5CED0
text
#160F12
muted
#847F81

Preview Lab

Preview with #D97BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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