#DC98AF#DC98AF

#DC98AF is a light, moderate pink. Relative luminance 0.408; OKLCH L 75.3% C 0.086 H 357.4°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).

Color values

HEX#DC98AF
RGBrgb(220, 152, 175)
HSLhsl(340, 49%, 73%)
HSVhsv(340, 31%, 86%)
CMYKcmyk(0%, 30.9%, 20.5%, 13.7%)
CIE-LABlab(70.01, 28.75, -1.62)
CIE-LCHlch(70.01, 28.79, 356.77°)
OKLaboklab(75.26% 0.0862 -0.0039)
OKLCHoklch(75.26% 0.086 357.4)
XYZxyz(48.4819, 40.7699, 45.8648)
Luminance0.4077 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DC98AF #98DCC5
analogous
#DC98D1 #DC98AF #DCA398
triadic
#DC98AF #AFDC98 #98AFDC
tetradic
#DC98AF #D1DC98 #98DCC5 #A398DC
square
#DC98AF #D1DC98 #98DCC5 #A398DC
split-complementary
#DC98AF #98DCA3 #98D1DC
monochromatic
#BA3F69 #CC6A8C #DC98AF #ECC6D2 #F7E8ED

Accessibility & contrast

On white

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

On black

9.15
#DC98AF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DC98AF
9.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DC98AF#FFFFFF#000000##000000
##DC98AF1.002.299.159.15
#FFFFFF2.291.0021.0021.00
#0000009.1521.001.001.00
##0000009.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A0A4B0
Deuteranopia (green-blind)
#B0B0AD
Tritanopia (blue-blind)
#E795A0
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #dc98af;
/* rgb */ color: rgb(220, 152, 175);
/* oklch */ color: oklch(75.3% 0.086 357.4);
Tailwind
colors: {
  custom: {
    50: '#e8b7c6',
    500: '#dc98af',
    950: '#000000',
  },
}
SCSS
$custom: #dc98af;
$custom-light: #e8b7c6;
$custom-dark: #000000;
JSON
{
  "hex": "#dc98af",
  "rgb": {
    "r": 220,
    "g": 152,
    "b": 175
  },
  "hsl": {
    "h": 339.706,
    "s": 49.275,
    "l": 72.941
  },
  "oklch": {
    "l": 0.75261,
    "c": 0.0863,
    "h": 357.4
  },
  "luminance": 0.40767
}

Semantic roles & 50–950 ramp

primary
#DC98AF
secondary
#DDEEE8
accent
#BD8B29
background
#FEFBFC
surface
#FDF6F8
border
#D5D0D1
text
#161113
muted
#848082

Preview Lab

Preview with #DC98AF

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

Preview Lab → · Contrast checker → · Palette generator →

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