#CF7FA2#CF7FA2

#CF7FA2 is a light, moderate pink. Relative luminance 0.311; OKLCH L 69.1% C 0.108 H 352.5°. Best body text is #000000 at 7.21:1 contrast (WCAG AA passes).

Color values

HEX#CF7FA2
RGBrgb(207, 127, 162)
HSLhsl(334, 45%, 65%)
HSVhsv(334, 39%, 81%)
CMYKcmyk(0%, 38.6%, 21.7%, 18.8%)
CIE-LABlab(62.55, 35.61, -5.46)
CIE-LCHlch(62.55, 36.03, 351.28°)
OKLaboklab(69.11% 0.1067 -0.014)
OKLCHoklch(69.11% 0.108 352.5)
XYZxyz(39.8438, 31.0554, 38.0711)
Luminance0.3105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7FA2 #7FCFAC
analogous
#CF7FCA #CF7FA2 #CF847F
triadic
#CF7FA2 #A2CF7F #7FA2CF
tetradic
#CF7FA2 #CACF7F #7FCFAC #847FCF
square
#CF7FA2 #CACF7F #7FCFAC #847FCF
split-complementary
#CF7FA2 #7FCF84 #7FCACF
monochromatic
#9A3A64 #BE5282 #CF7FA2 #E0ACC2 #F0D8E3

Accessibility & contrast

On white

2.91
#CF7FA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.21
#CF7FA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7FA2
7.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7FA2#FFFFFF#000000##000000
##CF7FA21.002.917.217.21
#FFFFFF2.911.0021.0021.00
#0000007.2121.001.001.00
##0000007.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#888FA3
Deuteranopia (green-blind)
#9B9CA0
Tritanopia (blue-blind)
#DA7C8B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf7fa2;
/* rgb */ color: rgb(207, 127, 162);
/* oklch */ color: oklch(69.1% 0.108 352.5);
Tailwind
colors: {
  custom: {
    50: '#dfa5bd',
    500: '#cf7fa2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7fa2;
$custom-light: #dfa5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7fa2",
  "rgb": {
    "r": 207,
    "g": 127,
    "b": 162
  },
  "hsl": {
    "h": 333.75,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.69113,
    "c": 0.10757,
    "h": 352.5
  },
  "luminance": 0.31053
}

Semantic roles & 50–950 ramp

primary
#CF7FA2
secondary
#C8E2D7
accent
#B97B2D
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CF7FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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