#CF8BA2#CF8BA2

#CF8BA2 is a light, moderate pink. Relative luminance 0.343; OKLCH L 71.2% C 0.088 H 357.7°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#CF8BA2
RGBrgb(207, 139, 162)
HSLhsl(340, 41%, 68%)
HSVhsv(340, 33%, 81%)
CMYKcmyk(0%, 32.9%, 21.7%, 18.8%)
CIE-LABlab(65.23, 29.14, -1.51)
CIE-LCHlch(65.23, 29.18, 357.02°)
OKLaboklab(71.16% 0.0875 -0.0036)
OKLCHoklch(71.16% 0.088 357.7)
XYZxyz(41.4870, 34.3417, 38.6188)
Luminance0.3434 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF8BA2 #8BCFB8
analogous
#CF8BC4 #CF8BA2 #CF968B
triadic
#CF8BA2 #A2CF8B #8BA2CF
tetradic
#CF8BA2 #C4CF8B #8BCFB8 #968BCF
square
#CF8BA2 #C4CF8B #8BCFB8 #968BCF
split-complementary
#CF8BA2 #8BCF96 #8BC4CF
monochromatic
#9E4161 #BD607F #CF8BA2 #E1B6C5 #F3E2E7

Accessibility & contrast

On white

2.67
#CF8BA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.87
#CF8BA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF8BA2
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF8BA2#FFFFFF#000000##000000
##CF8BA21.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9397A3
Deuteranopia (green-blind)
#A4A3A0
Tritanopia (blue-blind)
#DA8893
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #cf8ba2;
/* rgb */ color: rgb(207, 139, 162);
/* oklch */ color: oklch(71.2% 0.088 357.7);
Tailwind
colors: {
  custom: {
    50: '#dfadbd',
    500: '#cf8ba2',
    950: '#000000',
  },
}
SCSS
$custom: #cf8ba2;
$custom-light: #dfadbd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf8ba2",
  "rgb": {
    "r": 207,
    "g": 139,
    "b": 162
  },
  "hsl": {
    "h": 339.706,
    "s": 41.463,
    "l": 67.843
  },
  "oklch": {
    "l": 0.71156,
    "c": 0.08757,
    "h": 357.7
  },
  "luminance": 0.34339
}

Semantic roles & 50–950 ramp

primary
#CF8BA2
secondary
#D0E5DE
accent
#B58831
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151012
muted
#837F81

Preview Lab

Preview with #CF8BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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