#C98FA7#C98FA7

#C98FA7 is a light, moderate pink. Relative luminance 0.349; OKLCH L 71.4% C 0.077 H 352.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#C98FA7
RGBrgb(201, 143, 167)
HSLhsl(335, 35%, 67%)
HSVhsv(335, 29%, 79%)
CMYKcmyk(0%, 28.9%, 16.9%, 21.2%)
CIE-LABlab(65.64, 25.56, -3.82)
CIE-LCHlch(65.64, 25.85, 351.50°)
OKLaboklab(71.36% 0.0761 -0.0098)
OKLCHoklch(71.36% 0.077 352.7)
XYZxyz(40.8851, 34.8544, 41.1257)
Luminance0.3485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C98FA7 #8FC9B1
analogous
#C98FC4 #C98FA7 #C9948F
triadic
#C98FA7 #A7C98F #8FA7C9
tetradic
#C98FA7 #C4C98F #8FC9B1 #948FC9
square
#C98FA7 #C4C98F #8FC9B1 #948FC9
split-complementary
#C98FA7 #8FC994 #8FC4C9
monochromatic
#964868 #B56687 #C98FA7 #DDB8C7 #F1E2E8

Accessibility & contrast

On white

2.63
#C98FA7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#C98FA7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C98FA7
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C98FA7#FFFFFF#000000##000000
##C98FA71.002.637.977.97
#FFFFFF2.631.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#959AA8
Deuteranopia (green-blind)
#A2A3A6
Tritanopia (blue-blind)
#D28D97
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #c98fa7;
/* rgb */ color: rgb(201, 143, 167);
/* oklch */ color: oklch(71.4% 0.077 352.7);
Tailwind
colors: {
  custom: {
    50: '#dab0c1',
    500: '#c98fa7',
    950: '#000000',
  },
}
SCSS
$custom: #c98fa7;
$custom-light: #dab0c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c98fa7",
  "rgb": {
    "r": 201,
    "g": 143,
    "b": 167
  },
  "hsl": {
    "h": 335.172,
    "s": 34.94,
    "l": 67.451
  },
  "oklch": {
    "l": 0.71364,
    "c": 0.07667,
    "h": 352.7
  },
  "luminance": 0.34852
}

Semantic roles & 50–950 ramp

primary
#C98FA7
secondary
#D1E3DB
accent
#AE7D38
background
#FDFAFB
surface
#FBF5F7
border
#D4CFD0
text
#151012
muted
#837F81

Preview Lab

Preview with #C98FA7

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

Preview Lab → · Contrast checker → · Palette generator →

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