#CF7A97#CF7A97

#CF7A97 is a light, moderate pink. Relative luminance 0.294; OKLCH L 67.9% C 0.111 H 358.6°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#CF7A97
RGBrgb(207, 122, 151)
HSLhsl(340, 47%, 65%)
HSVhsv(340, 41%, 81%)
CMYKcmyk(0%, 41.1%, 27.1%, 18.8%)
CIE-LABlab(61.15, 36.69, -1.23)
CIE-LCHlch(61.15, 36.71, 358.07°)
OKLaboklab(67.94% 0.1108 -0.0027)
OKLCHoklch(67.94% 0.111 358.6)
XYZxyz(38.2787, 29.4217, 32.9350)
Luminance0.2942 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF7A97 #7ACFB2
analogous
#CF7AC2 #CF7A97 #CF887A
triadic
#CF7A97 #97CF7A #7A97CF
tetradic
#CF7A97 #C2CF7A #7ACFB2 #887ACF
square
#CF7A97 #C2CF7A #7ACFB2 #887ACF
split-complementary
#CF7A97 #7ACF88 #7AC2CF
monochromatic
#983758 #BF4D74 #CF7A97 #DFA7BA #EFD4DD

Accessibility & contrast

On white

3.05
#CF7A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#CF7A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF7A97
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF7A97#FFFFFF#000000##000000
##CF7A971.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#868A98
Deuteranopia (green-blind)
#9B9995
Tritanopia (blue-blind)
#DC7584
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #cf7a97;
/* rgb */ color: rgb(207, 122, 151);
/* oklch */ color: oklch(67.9% 0.111 358.6);
Tailwind
colors: {
  custom: {
    50: '#e0a2b5',
    500: '#cf7a97',
    950: '#000000',
  },
}
SCSS
$custom: #cf7a97;
$custom-light: #e0a2b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf7a97",
  "rgb": {
    "r": 207,
    "g": 122,
    "b": 151
  },
  "hsl": {
    "h": 339.529,
    "s": 46.961,
    "l": 64.51
  },
  "oklch": {
    "l": 0.67941,
    "c": 0.11083,
    "h": 358.6
  },
  "luminance": 0.29419
}

Semantic roles & 50–950 ramp

primary
#CF7A97
secondary
#C4E1D7
accent
#BA892B
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F11
muted
#837F80

Preview Lab

Preview with #CF7A97

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

Preview Lab → · Contrast checker → · Palette generator →

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