#CF5098#CF5098

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

Color values

HEX#CF5098
RGBrgb(207, 80, 152)
HSLhsl(326, 57%, 56%)
HSVhsv(326, 61%, 81%)
CMYKcmyk(0%, 61.4%, 26.6%, 18.8%)
CIE-LABlab(53.25, 57.39, -13.58)
CIE-LCHlch(53.25, 58.98, 346.69°)
OKLaboklab(62.02% 0.1737 -0.0356)
OKLCHoklch(62.02% 0.177 348.4)
XYZxyz(34.2696, 21.2731, 32.0010)
Luminance0.2127 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5098 #50CF87
analogous
#C750CF #CF5098 #CF5059
triadic
#CF5098 #98CF50 #5098CF
tetradic
#CF5098 #CFC750 #50CF87 #5059CF
square
#CF5098 #CFC750 #50CF87 #5059CF
split-complementary
#CF5098 #59CF50 #50CFC7
monochromatic
#812359 #B1317A #CF5098 #DC80B4 #E9B0D1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CF5098#FFFFFF#000000##000000
##CF50981.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)
#5F719A
Deuteranopia (green-blind)
#838795
Tritanopia (blue-blind)
#DD4C6D
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #cf5098;
/* rgb */ color: rgb(207, 80, 152);
/* oklch */ color: oklch(62.0% 0.177 348.4);
Tailwind
colors: {
  custom: {
    50: '#e188b6',
    500: '#cf5098',
    950: '#000000',
  },
}
SCSS
$custom: #cf5098;
$custom-light: #e188b6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5098",
  "rgb": {
    "r": 207,
    "g": 80,
    "b": 152
  },
  "hsl": {
    "h": 325.984,
    "s": 56.951,
    "l": 56.275
  },
  "oklch": {
    "l": 0.62024,
    "c": 0.17732,
    "h": 348.4
  },
  "luminance": 0.2127
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5098

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

Preview Lab → · Contrast checker → · Palette generator →

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