#D98AAA

A color in the Red, Pink family

#d98aaa is a color in the Red, Pink family: RGB(217, 138, 170), HSL(336°, 51%, 70%), CMYK(0%, 36%, 22%, 15%). Closest named color: palevioletred. Contrast is 2.57:1 on white and 8.17:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#d98aaa
RGBrgb(217 138 170)
RGB (legacy)rgb(217, 138, 170)
RGB %rgb(85% 54% 67%)
HSLhsl(336 51% 70%)
HSV / HSBhsv(336, 36%, 85%)
HWBhwb(336 54% 15%)
CMYKcmyk(0%, 36%, 22%, 15%)
CIELAB (D50)lab(66.59 34.1 -3.66)
LCHlch(66.59 34.3 353.87)
OKLaboklab(0.7237 0.1032 -0.0106)
OKLCHoklch(0.7237 0.1038 354.13)
Decimal14256810

Properties

Color ToneRed, Pink
Closest named colorpalevioletred ΔE 5.9
Closest web-safe color#cc9999
Hue336°
Saturation (HSL / HSV)51% / 36%
Lightness (HSL)70%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)65% / 62%
Relative luminance (WCAG)0.3583
Red / Green / Blue217 / 138 / 170

WCAG 2.2 Contrast Ratio

On White (#ffffff)
2.57:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
On Black (#000000)
8.17:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 50.1 / -51.8 · As background with white / black text: Lc -55.2 / 53.9

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #d98aaa;
  --color-brand-oklch: oklch(72.37% 0.1038 354.13);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(217 138 170 / 50%); }
/* Tailwind CSS */
<div class="bg-[#d98aaa] text-[#d98aaa] border-[#d98aaa]">