#CF5097#CF5097

#CF5097 is a mid, vivid pink. Relative luminance 0.212; OKLCH L 62.0% C 0.177 H 348.9°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#CF5097
RGBrgb(207, 80, 151)
HSLhsl(326, 57%, 56%)
HSVhsv(326, 61%, 81%)
CMYKcmyk(0%, 61.4%, 27.1%, 18.8%)
CIE-LABlab(53.21, 57.26, -13.05)
CIE-LCHlch(53.21, 58.73, 347.17°)
OKLaboklab(61.99% 0.1735 -0.0341)
OKLCHoklch(61.99% 0.177 348.9)
XYZxyz(34.1881, 21.2405, 31.5715)
Luminance0.2124 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5097 #50CF88
analogous
#C850CF #CF5097 #CF5058
triadic
#CF5097 #97CF50 #5097CF
tetradic
#CF5097 #CFC850 #50CF88 #5058CF
square
#CF5097 #CFC850 #50CF88 #5058CF
split-complementary
#CF5097 #58CF50 #50CFC8
monochromatic
#812358 #B13178 #CF5097 #DC80B4 #E9B0D0

Accessibility & contrast

On white

4.00
#CF5097 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#CF5097 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5097
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5097#FFFFFF#000000##000000
##CF50971.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#607199
Deuteranopia (green-blind)
#838794
Tritanopia (blue-blind)
#DD4C6D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf5097;
/* rgb */ color: rgb(207, 80, 151);
/* oklch */ color: oklch(62.0% 0.177 348.9);
Tailwind
colors: {
  custom: {
    50: '#e188b5',
    500: '#cf5097',
    950: '#000000',
  },
}
SCSS
$custom: #cf5097;
$custom-light: #e188b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5097",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 151
  },
  "hsl": {
    "h": 326.457,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61987,
    "c": 0.17678,
    "h": 348.9
  },
  "luminance": 0.21237
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5097

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

Preview Lab → · Contrast checker → · Palette generator →

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