#CF8CA5#CF8CA5

#CF8CA5 is a light, moderate pink. Relative luminance 0.347; OKLCH L 71.4% C 0.087 H 355.5°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#CF8CA5
RGBrgb(207, 140, 165)
HSLhsl(338, 41%, 68%)
HSVhsv(338, 32%, 81%)
CMYKcmyk(0%, 32.4%, 20.3%, 18.8%)
CIE-LABlab(65.55, 29.05, -2.75)
CIE-LCHlch(65.55, 29.18, 354.60°)
OKLaboklab(71.42% 0.087 -0.0069)
OKLCHoklch(71.42% 0.087 355.5)
XYZxyz(41.9023, 34.7405, 40.0885)
Luminance0.3474 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CA5 #8CCFB6
analogous
#CF8CC6 #CF8CA5 #CF948C
triadic
#CF8CA5 #A5CF8C #8CA5CF
tetradic
#CF8CA5 #C6CF8C #8CCFB6 #948CCF
square
#CF8CA5 #C6CF8C #8CCFB6 #948CCF
split-complementary
#CF8CA5 #8CCF94 #8CC6CF
monochromatic
#9E4265 #BD6183 #CF8CA5 #E1B7C7 #F3E2E9

Accessibility & contrast

On white

2.64
#CF8CA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#CF8CA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CA5
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CA5#FFFFFF#000000##000000
##CF8CA51.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9498A6
Deuteranopia (green-blind)
#A4A4A3
Tritanopia (blue-blind)
#D98995
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf8ca5;
/* rgb */ color: rgb(207, 140, 165);
/* oklch */ color: oklch(71.4% 0.087 355.5);
Tailwind
colors: {
  custom: {
    50: '#dfaebf',
    500: '#cf8ca5',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ca5;
$custom-light: #dfaebf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ca5",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 165
  },
  "hsl": {
    "h": 337.612,
    "s": 41.104,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71424,
    "c": 0.08725,
    "h": 355.5
  },
  "luminance": 0.34738
}

Semantic roles & 50–950 ramp

primary
#CF8CA5
secondary
#D1E6DE
accent
#B48331
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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