#D299CB#D299CB

#D299CB is a light, moderate purple. Relative luminance 0.408; OKLCH L 75.3% C 0.095 H 330.7°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#D299CB
RGBrgb(210, 153, 203)
HSLhsl(307, 39%, 71%)
HSVhsv(307, 27%, 82%)
CMYKcmyk(0%, 27.1%, 3.3%, 17.6%)
CIE-LABlab(70.03, 29.39, -17.25)
CIE-LCHlch(70.03, 34.08, 329.59°)
OKLaboklab(75.32% 0.0827 -0.0463)
OKLCHoklch(75.32% 0.095 330.7)
XYZxyz(48.7482, 40.7976, 61.7952)
Luminance0.4080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D299CB #99D2A0
analogous
#BC99D2 #D299CB #D299AE
triadic
#D299CB #CBD299 #99CBD2
tetradic
#D299CB #D2BC99 #99D2A0 #99AED2
square
#D299CB #D2BC99 #99D2A0 #99AED2
split-complementary
#D299CB #AED299 #99D2BC
monochromatic
#A74A9B #BF6FB5 #D299CB #E5C3E1 #F6EAF4

Accessibility & contrast

On white

2.29
#D299CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.16
#D299CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D299CB
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D299CB#FFFFFF#000000##000000
##D299CB1.002.299.169.16
#FFFFFF2.291.0021.0021.00
#0000009.1621.001.001.00
##0000009.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#97A6CD
Deuteranopia (green-blind)
#A5AEC9
Tritanopia (blue-blind)
#D79CAB
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #d299cb;
/* rgb */ color: rgb(210, 153, 203);
/* oklch */ color: oklch(75.3% 0.095 330.7);
Tailwind
colors: {
  custom: {
    50: '#e0b7db',
    500: '#d299cb',
    950: '#000000',
  },
}
SCSS
$custom: #d299cb;
$custom-light: #e0b7db;
$custom-dark: #000000;
JSON
{
  "hex": "#d299cb",
  "rgb": {
    "r": 210,
    "g": 153,
    "b": 203
  },
  "hsl": {
    "h": 307.368,
    "s": 38.776,
    "l": 71.176
  },
  "oklch": {
    "l": 0.75319,
    "c": 0.09479,
    "h": 330.7
  },
  "luminance": 0.40796
}

Semantic roles & 50–950 ramp

primary
#D299CB
secondary
#DCEBDE
accent
#B24334
background
#FDFBFD
surface
#FBF6FA
border
#D4D0D3
text
#151115
muted
#838083

Preview Lab

Preview with #D299CB

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

Preview Lab → · Contrast checker → · Palette generator →

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