#CF7FB2#CF7FB2

#CF7FB2 is a light, moderate pink. Relative luminance 0.317; OKLCH L 69.7% C 0.118 H 341.9°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#CF7FB2
RGBrgb(207, 127, 178)
HSLhsl(322, 45%, 65%)
HSVhsv(322, 39%, 81%)
CMYKcmyk(0%, 38.6%, 14%, 18.8%)
CIE-LABlab(63.06, 38.10, -13.80)
CIE-LCHlch(63.06, 40.53, 340.08°)
OKLaboklab(69.66% 0.1118 -0.0366)
OKLCHoklch(69.66% 0.118 341.9)
XYZxyz(41.3576, 31.6609, 46.0436)
Luminance0.3166 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FB2 #7FCF9C
analogous
#C47FCF #CF7FB2 #CF7F8A
triadic
#CF7FB2 #B2CF7F #7FB2CF
tetradic
#CF7FB2 #CFC47F #7FCF9C #7F8ACF
square
#CF7FB2 #CFC47F #7FCF9C #7F8ACF
split-complementary
#CF7FB2 #8ACF7F #7FCFC4
monochromatic
#9A3A77 #BE5297 #CF7FB2 #E0ACCD #F0D8E8

Accessibility & contrast

On white

2.86
#CF7FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#CF7FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FB2
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FB2#FFFFFF#000000##000000
##CF7FB21.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8391B4
Deuteranopia (green-blind)
#979DB0
Tritanopia (blue-blind)
#D88091
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #cf7fb2;
/* rgb */ color: rgb(207, 127, 178);
/* oklch */ color: oklch(69.7% 0.118 341.9);
Tailwind
colors: {
  custom: {
    50: '#dfa5c9',
    500: '#cf7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fb2;
$custom-light: #dfa5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fb2",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 321.75,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69665,
    "c": 0.11768,
    "h": 341.9
  },
  "luminance": 0.31658
}

Semantic roles & 50–950 ramp

primary
#CF7FB2
secondary
#C8E2D1
accent
#B9602D
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CF7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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