#CF98BF#CF98BF

#CF98BF is a light, moderate pink. Relative luminance 0.395; OKLCH L 74.4% C 0.083 H 337.4°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#CF98BF
RGBrgb(207, 152, 191)
HSLhsl(317, 36%, 70%)
HSVhsv(317, 27%, 81%)
CMYKcmyk(0%, 26.6%, 7.7%, 18.8%)
CIE-LABlab(69.10, 26.78, -12.03)
CIE-LCHlch(69.10, 29.36, 335.81°)
OKLaboklab(74.41% 0.077 -0.032)
OKLCHoklch(74.41% 0.083 337.4)
XYZxyz(46.3638, 39.4852, 54.4593)
Luminance0.3948 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF98BF #98CFA8
analogous
#C498CF #CF98BF #CF98A3
triadic
#CF98BF #BFCF98 #98BFCF
tetradic
#CF98BF #CFC498 #98CFA8 #98A3CF
square
#CF98BF #CFC498 #98CFA8 #98A3CF
split-complementary
#CF98BF #A3CF98 #98CFC4
monochromatic
#A14B88 #BC6EA5 #CF98BF #E2C2D9 #F5EAF2

Accessibility & contrast

On white

2.36
#CF98BF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.90
#CF98BF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF98BF
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF98BF#FFFFFF#000000##000000
##CF98BF1.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99A4C1
Deuteranopia (green-blind)
#A6ACBD
Tritanopia (blue-blind)
#D599A5
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #cf98bf;
/* rgb */ color: rgb(207, 152, 191);
/* oklch */ color: oklch(74.4% 0.083 337.4);
Tailwind
colors: {
  custom: {
    50: '#deb6d2',
    500: '#cf98bf',
    950: '#000000',
  },
}
SCSS
$custom: #cf98bf;
$custom-light: #deb6d2;
$custom-dark: #000000;
JSON
{
  "hex": "#cf98bf",
  "rgb": {
    "r": 207,
    "g": 152,
    "b": 191
  },
  "hsl": {
    "h": 317.455,
    "s": 36.424,
    "l": 70.392
  },
  "oklch": {
    "l": 0.74406,
    "c": 0.08338,
    "h": 337.4
  },
  "luminance": 0.39483
}

Semantic roles & 50–950 ramp

primary
#CF98BF
secondary
#DAE9DE
accent
#AF5936
background
#FDFBFC
surface
#FBF6F9
border
#D4D0D2
text
#151114
muted
#838082

Preview Lab

Preview with #CF98BF

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

Preview Lab → · Contrast checker → · Palette generator →

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