#CF8EA5#CF8EA5

#CF8EA5 is a light, moderate pink. Relative luminance 0.353; OKLCH L 71.8% C 0.084 H 356.5°. Best body text is #000000 at 8.07:1 contrast (WCAG AA passes).

Color values

HEX#CF8EA5
RGBrgb(207, 142, 165)
HSLhsl(339, 40%, 68%)
HSVhsv(339, 31%, 81%)
CMYKcmyk(0%, 31.4%, 20.3%, 18.8%)
CIE-LABlab(66.00, 27.96, -2.07)
CIE-LCHlch(66.00, 28.04, 355.76°)
OKLaboklab(71.78% 0.0838 -0.0051)
OKLCHoklch(71.78% 0.084 356.5)
XYZxyz(42.1972, 35.3303, 40.1868)
Luminance0.3533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8EA5 #8ECFB8
analogous
#CF8EC5 #CF8EA5 #CF978E
triadic
#CF8EA5 #A5CF8E #8EA5CF
tetradic
#CF8EA5 #C5CF8E #8ECFB8 #978ECF
square
#CF8EA5 #C5CF8E #8ECFB8 #978ECF
split-complementary
#CF8EA5 #8ECF97 #8EC5CF
monochromatic
#9F4464 #BD6383 #CF8EA5 #E1B9C7 #F3E4E9

Accessibility & contrast

On white

2.60
#CF8EA5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.07
#CF8EA5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8EA5
8.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8EA5#FFFFFF#000000##000000
##CF8EA51.002.608.078.07
#FFFFFF2.601.0021.0021.00
#0000008.0721.001.001.00
##0000008.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#959AA6
Deuteranopia (green-blind)
#A5A5A4
Tritanopia (blue-blind)
#D98B96
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #cf8ea5;
/* rgb */ color: rgb(207, 142, 165);
/* oklch */ color: oklch(71.8% 0.084 356.5);
Tailwind
colors: {
  custom: {
    50: '#dfafbf',
    500: '#cf8ea5',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ea5;
$custom-light: #dfafbf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ea5",
  "rgb": {
    "r": 207,
    "g": 142,
    "b": 165
  },
  "hsl": {
    "h": 338.769,
    "s": 40.373,
    "l": 68.431
  },
  "oklch": {
    "l": 0.71776,
    "c": 0.08393,
    "h": 356.5
  },
  "luminance": 0.35328
}

Semantic roles & 50–950 ramp

primary
#CF8EA5
secondary
#D3E6DF
accent
#B38632
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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