#CF7FAC#CF7FAC

#CF7FAC is a light, moderate pink. Relative luminance 0.314; OKLCH L 69.5% C 0.114 H 345.7°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#CF7FAC
RGBrgb(207, 127, 172)
HSLhsl(326, 45%, 65%)
HSVhsv(326, 39%, 81%)
CMYKcmyk(0%, 38.6%, 16.9%, 18.8%)
CIE-LABlab(62.86, 37.14, -10.69)
CIE-LCHlch(62.86, 38.65, 343.94°)
OKLaboklab(69.45% 0.11 -0.0281)
OKLCHoklch(69.45% 0.114 345.7)
XYZxyz(40.7683, 31.4252, 42.9401)
Luminance0.3142 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FAC #7FCFA2
analogous
#CA7FCF #CF7FAC #CF7F84
triadic
#CF7FAC #ACCF7F #7FACCF
tetradic
#CF7FAC #CFCA7F #7FCFA2 #7F84CF
square
#CF7FAC #CFCA7F #7FCFA2 #7F84CF
split-complementary
#CF7FAC #84CF7F #7FCFCA
monochromatic
#9A3A70 #BE528F #CF7FAC #E0ACC9 #F0D8E6

Accessibility & contrast

On white

2.88
#CF7FAC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#CF7FAC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FAC
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FAC#FFFFFF#000000##000000
##CF7FAC1.002.887.287.28
#FFFFFF2.881.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8590AE
Deuteranopia (green-blind)
#999DAA
Tritanopia (blue-blind)
#D97E8F
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf7fac;
/* rgb */ color: rgb(207, 127, 172);
/* oklch */ color: oklch(69.5% 0.114 345.7);
Tailwind
colors: {
  custom: {
    50: '#dfa5c4',
    500: '#cf7fac',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fac;
$custom-light: #dfa5c4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fac",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 172
  },
  "hsl": {
    "h": 326.25,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69451,
    "c": 0.1135,
    "h": 345.7
  },
  "luminance": 0.31423
}

Semantic roles & 50–950 ramp

primary
#CF7FAC
secondary
#C8E2D3
accent
#B96A2D
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F12
muted
#837F81

Preview Lab

Preview with #CF7FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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