#CF5398#CF5398

#CF5398 is a light, vivid pink. Relative luminance 0.217; OKLCH L 62.4% C 0.173 H 348.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#CF5398
RGBrgb(207, 83, 152)
HSLhsl(327, 56%, 57%)
HSVhsv(327, 60%, 81%)
CMYKcmyk(0%, 59.9%, 26.6%, 18.8%)
CIE-LABlab(53.73, 56.08, -12.85)
CIE-LCHlch(53.73, 57.54, 347.09°)
OKLaboklab(62.38% 0.1697 -0.0336)
OKLCHoklch(62.38% 0.173 348.8)
XYZxyz(34.4942, 21.7223, 32.0759)
Luminance0.2172 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5398 #53CF8A
analogous
#C853CF #CF5398 #CF535A
triadic
#CF5398 #98CF53 #5398CF
tetradic
#CF5398 #CFC853 #53CF8A #535ACF
square
#CF5398 #CFC853 #53CF8A #535ACF
split-complementary
#CF5398 #5ACF53 #53CFC8
monochromatic
#832559 #B3327A #CF5398 #DC83B5 #EAB3D1

Accessibility & contrast

On white

3.93
#CF5398 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#CF5398 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5398
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5398#FFFFFF#000000##000000
##CF53981.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#62739A
Deuteranopia (green-blind)
#848895
Tritanopia (blue-blind)
#DD4F6F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #cf5398;
/* rgb */ color: rgb(207, 83, 152);
/* oklch */ color: oklch(62.4% 0.173 348.8);
Tailwind
colors: {
  custom: {
    50: '#e18ab6',
    500: '#cf5398',
    950: '#000000',
  },
}
SCSS
$custom: #cf5398;
$custom-light: #e18ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5398",
  "rgb": {
    "r": 207,
    "g": 83,
    "b": 152
  },
  "hsl": {
    "h": 326.613,
    "s": 56.364,
    "l": 56.863
  },
  "oklch": {
    "l": 0.62382,
    "c": 0.17298,
    "h": 348.8
  },
  "luminance": 0.21719
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5398

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

Preview Lab → · Contrast checker → · Palette generator →

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