#CF7FA8#CF7FA8

#CF7FA8 is a light, moderate pink. Relative luminance 0.313; OKLCH L 69.3% C 0.111 H 348.3°. Best body text is #000000 at 7.25:1 contrast (WCAG AA passes).

Color values

HEX#CF7FA8
RGBrgb(207, 127, 168)
HSLhsl(329, 45%, 65%)
HSVhsv(329, 39%, 81%)
CMYKcmyk(0%, 38.6%, 18.8%, 18.8%)
CIE-LABlab(62.74, 36.52, -8.61)
CIE-LCHlch(62.74, 37.52, 346.74°)
OKLaboklab(69.31% 0.1087 -0.0225)
OKLCHoklch(69.31% 0.111 348.3)
XYZxyz(40.3899, 31.2739, 40.9473)
Luminance0.3127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FA8 #7FCFA6
analogous
#CE7FCF #CF7FA8 #CF7F80
triadic
#CF7FA8 #A8CF7F #7FA8CF
tetradic
#CF7FA8 #CFCE7F #7FCFA6 #7F80CF
square
#CF7FA8 #CFCE7F #7FCFA6 #7F80CF
split-complementary
#CF7FA8 #80CF7F #7FCFCE
monochromatic
#9A3A6B #BE528A #CF7FA8 #E0ACC6 #F0D8E5

Accessibility & contrast

On white

2.89
#CF7FA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.25
#CF7FA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FA8
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FA8#FFFFFF#000000##000000
##CF7FA81.002.897.257.25
#FFFFFF2.891.0021.0021.00
#0000007.2521.001.001.00
##0000007.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8690A9
Deuteranopia (green-blind)
#9A9DA6
Tritanopia (blue-blind)
#D97D8E
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #cf7fa8;
/* rgb */ color: rgb(207, 127, 168);
/* oklch */ color: oklch(69.3% 0.111 348.3);
Tailwind
colors: {
  custom: {
    50: '#dfa5c1',
    500: '#cf7fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fa8;
$custom-light: #dfa5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fa8",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 329.25,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69313,
    "c": 0.11097,
    "h": 348.3
  },
  "luminance": 0.31271
}

Semantic roles & 50–950 ramp

primary
#CF7FA8
secondary
#C8E2D5
accent
#B9712D
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CF7FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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