#CF7AB2#CF7AB2

#CF7AB2 is a light, vivid pink. Relative luminance 0.304; OKLCH L 68.9% C 0.126 H 341.1°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#CF7AB2
RGBrgb(207, 122, 178)
HSLhsl(320, 47%, 65%)
HSVhsv(320, 41%, 81%)
CMYKcmyk(0%, 41.1%, 14%, 18.8%)
CIE-LABlab(62.00, 40.75, -15.41)
CIE-LCHlch(62.00, 43.57, 339.29°)
OKLaboklab(68.86% 0.1196 -0.041)
OKLCHoklch(68.86% 0.126 341.1)
XYZxyz(40.7278, 30.4013, 45.8337)
Luminance0.3040 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7AB2 #7ACF97
analogous
#C27ACF #CF7AB2 #CF7A88
triadic
#CF7AB2 #B2CF7A #7AB2CF
tetradic
#CF7AB2 #CFC27A #7ACF97 #7A88CF
square
#CF7AB2 #CFC27A #7ACF97 #7A88CF
split-complementary
#CF7AB2 #88CF7A #7ACFC2
monochromatic
#983777 #BF4D98 #CF7AB2 #DFA7CC #EFD4E6

Accessibility & contrast

On white

2.97
#CF7AB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#CF7AB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7AB2
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7AB2#FFFFFF#000000##000000
##CF7AB21.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#7E8EB4
Deuteranopia (green-blind)
#949BB0
Tritanopia (blue-blind)
#D87B8F
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cf7ab2;
/* rgb */ color: rgb(207, 122, 178);
/* oklch */ color: oklch(68.9% 0.126 341.1);
Tailwind
colors: {
  custom: {
    50: '#dfa2c9',
    500: '#cf7ab2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ab2;
$custom-light: #dfa2c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ab2",
  "rgb": {
    "r": 207,
    "g": 122,
    "b": 178
  },
  "hsl": {
    "h": 320.471,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.68862,
    "c": 0.1264,
    "h": 341.1
  },
  "luminance": 0.30399
}

Semantic roles & 50–950 ramp

primary
#CF7AB2
secondary
#C4E1CE
accent
#BA5C2B
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CF7AB2

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

Preview Lab → · Contrast checker → · Palette generator →

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