#CF5197#CF5197

#CF5197 is a light, vivid pink. Relative luminance 0.214; OKLCH L 62.1% C 0.175 H 349.0°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#CF5197
RGBrgb(207, 81, 151)
HSLhsl(327, 57%, 56%)
HSVhsv(327, 61%, 81%)
CMYKcmyk(0%, 60.9%, 27.1%, 18.8%)
CIE-LABlab(53.37, 56.83, -12.80)
CIE-LCHlch(53.37, 58.25, 347.30°)
OKLaboklab(62.11% 0.1721 -0.0335)
OKLCHoklch(62.11% 0.175 349)
XYZxyz(34.2619, 21.3880, 31.5961)
Luminance0.2139 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5197 #51CF89
analogous
#C851CF #CF5197 #CF5158
triadic
#CF5197 #97CF51 #5197CF
tetradic
#CF5197 #CFC851 #51CF89 #5158CF
square
#CF5197 #CFC851 #51CF89 #5158CF
split-complementary
#CF5197 #58CF51 #51CFC8
monochromatic
#822458 #B23179 #CF5197 #DC81B4 #E9B1D0

Accessibility & contrast

On white

3.98
#CF5197 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#CF5197 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5197
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5197#FFFFFF#000000##000000
##CF51971.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#607299
Deuteranopia (green-blind)
#848894
Tritanopia (blue-blind)
#DD4D6D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf5197;
/* rgb */ color: rgb(207, 81, 151);
/* oklch */ color: oklch(62.1% 0.175 349.0);
Tailwind
colors: {
  custom: {
    50: '#e188b5',
    500: '#cf5197',
    950: '#000000',
  },
}
SCSS
$custom: #cf5197;
$custom-light: #e188b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5197",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 151
  },
  "hsl": {
    "h": 326.667,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62105,
    "c": 0.17534,
    "h": 349
  },
  "luminance": 0.21385
}

Semantic roles & 50–950 ramp

primary
#CF5197
secondary
#A4D8BB
accent
#E08B48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF5197

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

Preview Lab → · Contrast checker → · Palette generator →

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