#CF5196#CF5196

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

Color values

HEX#CF5196
RGBrgb(207, 81, 150)
HSLhsl(327, 57%, 56%)
HSVhsv(327, 61%, 81%)
CMYKcmyk(0%, 60.9%, 27.5%, 18.8%)
CIE-LABlab(53.34, 56.70, -12.27)
CIE-LCHlch(53.34, 58.01, 347.79°)
OKLaboklab(62.07% 0.1718 -0.032)
OKLCHoklch(62.07% 0.175 349.4)
XYZxyz(34.1810, 21.3557, 31.1702)
Luminance0.2135 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5196 #51CF8A
analogous
#C951CF #CF5196 #CF5157
triadic
#CF5196 #96CF51 #5196CF
tetradic
#CF5196 #CFC951 #51CF8A #5157CF
square
#CF5196 #CFC951 #51CF8A #5157CF
split-complementary
#CF5196 #57CF51 #51CFC9
monochromatic
#822457 #B23178 #CF5196 #DC81B3 #E9B1D0

Accessibility & contrast

On white

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

On black

5.27
#CF5196 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5196
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5196#FFFFFF#000000##000000
##CF51961.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cf5196;
/* rgb */ color: rgb(207, 81, 150);
/* oklch */ color: oklch(62.1% 0.175 349.4);
Tailwind
colors: {
  custom: {
    50: '#e188b4',
    500: '#cf5196',
    950: '#000000',
  },
}
SCSS
$custom: #cf5196;
$custom-light: #e188b4;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5196",
  "rgb": {
    "r": 207,
    "g": 81,
    "b": 150
  },
  "hsl": {
    "h": 327.143,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62067,
    "c": 0.1748,
    "h": 349.4
  },
  "luminance": 0.21352
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5196

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

Preview Lab → · Contrast checker → · Palette generator →

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