#CF7EA2#CF7EA2

#CF7EA2 is a light, moderate pink. Relative luminance 0.308; OKLCH L 68.9% C 0.109 H 352.2°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#CF7EA2
RGBrgb(207, 126, 162)
HSLhsl(333, 46%, 65%)
HSVhsv(333, 39%, 81%)
CMYKcmyk(0%, 39.1%, 21.7%, 18.8%)
CIE-LABlab(62.34, 36.14, -5.78)
CIE-LCHlch(62.34, 36.60, 350.91°)
OKLaboklab(68.95% 0.1083 -0.0148)
OKLCHoklch(68.95% 0.109 352.2)
XYZxyz(39.7153, 30.7984, 38.0283)
Luminance0.3080 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7EA2 #7ECFAB
analogous
#CF7ECB #CF7EA2 #CF827E
triadic
#CF7EA2 #A2CF7E #7EA2CF
tetradic
#CF7EA2 #CBCF7E #7ECFAB #827ECF
square
#CF7EA2 #CBCF7E #7ECFAB #827ECF
split-complementary
#CF7EA2 #7ECF82 #7ECBCF
monochromatic
#993964 #BE5182 #CF7EA2 #E0ABC2 #F0D7E2

Accessibility & contrast

On white

2.93
#CF7EA2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#CF7EA2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CF7EA2
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7EA2#FFFFFF#000000##000000
##CF7EA21.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#878EA3
Deuteranopia (green-blind)
#9B9CA0
Tritanopia (blue-blind)
#DA7B8B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cf7ea2;
/* rgb */ color: rgb(207, 126, 162);
/* oklch */ color: oklch(68.9% 0.109 352.2);
Tailwind
colors: {
  custom: {
    50: '#dfa5bd',
    500: '#cf7ea2',
    950: '#000000',
  },
}
SCSS
$custom: #cf7ea2;
$custom-light: #dfa5bd;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7ea2",
  "rgb": {
    "r": 207,
    "g": 126,
    "b": 162
  },
  "hsl": {
    "h": 333.333,
    "s": 45.763,
    "l": 65.294
  },
  "oklch": {
    "l": 0.68947,
    "c": 0.10926,
    "h": 352.2
  },
  "luminance": 0.30796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF7EA2

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

Preview Lab → · Contrast checker → · Palette generator →

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