#CF8CA2#CF8CA2

#CF8CA2 is a light, moderate pink. Relative luminance 0.346; OKLCH L 71.3% C 0.086 H 358.2°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#CF8CA2
RGBrgb(207, 140, 162)
HSLhsl(340, 41%, 68%)
HSVhsv(340, 32%, 81%)
CMYKcmyk(0%, 32.4%, 21.7%, 18.8%)
CIE-LABlab(65.46, 28.60, -1.18)
CIE-LCHlch(65.46, 28.62, 357.64°)
OKLaboklab(71.33% 0.0859 -0.0027)
OKLCHoklch(71.33% 0.086 358.2)
XYZxyz(41.6324, 34.6326, 38.6673)
Luminance0.3463 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8CA2 #8CCFB9
analogous
#CF8CC3 #CF8CA2 #CF988C
triadic
#CF8CA2 #A2CF8C #8CA2CF
tetradic
#CF8CA2 #C3CF8C #8CCFB9 #988CCF
square
#CF8CA2 #C3CF8C #8CCFB9 #988CCF
split-complementary
#CF8CA2 #8CCF98 #8CC3CF
monochromatic
#9E4260 #BD617F #CF8CA2 #E1B7C5 #F3E2E8

Accessibility & contrast

On white

2.65
#CF8CA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#CF8CA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8CA2
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8CA2#FFFFFF#000000##000000
##CF8CA21.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9498A3
Deuteranopia (green-blind)
#A4A3A0
Tritanopia (blue-blind)
#DA8994
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #cf8ca2;
/* rgb */ color: rgb(207, 140, 162);
/* oklch */ color: oklch(71.3% 0.086 358.2);
Tailwind
colors: {
  custom: {
    50: '#dfaebd',
    500: '#cf8ca2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ca2;
$custom-light: #dfaebd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ca2",
  "rgb": {
    "r": 207,
    "g": 140,
    "b": 162
  },
  "hsl": {
    "h": 340.299,
    "s": 41.104,
    "l": 68.039
  },
  "oklch": {
    "l": 0.71331,
    "c": 0.08594,
    "h": 358.2
  },
  "luminance": 0.3463
}

Semantic roles & 50–950 ramp

primary
#CF8CA2
secondary
#D1E6DF
accent
#B48931
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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