#CF5498#CF5498

#CF5498 is a light, vivid pink. Relative luminance 0.219; OKLCH L 62.5% C 0.172 H 348.9°. Best body text is #000000 at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#CF5498
RGBrgb(207, 84, 152)
HSLhsl(327, 56%, 57%)
HSVhsv(327, 59%, 81%)
CMYKcmyk(0%, 59.4%, 26.6%, 18.8%)
CIE-LABlab(53.90, 55.64, -12.60)
CIE-LCHlch(53.90, 57.05, 347.24°)
OKLaboklab(62.5% 0.1683 -0.033)
OKLCHoklch(62.5% 0.172 348.9)
XYZxyz(34.5713, 21.8764, 32.1015)
Luminance0.2187 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5498 #54CF8B
analogous
#C854CF #CF5498 #CF545B
triadic
#CF5498 #98CF54 #5498CF
tetradic
#CF5498 #CFC854 #54CF8B #545BCF
square
#CF5498 #CFC854 #54CF8B #545BCF
split-complementary
#CF5498 #5BCF54 #54CFC8
monochromatic
#842559 #B3327A #CF5498 #DC84B5 #EAB4D2

Accessibility & contrast

On white

3.91
#CF5498 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.37
#CF5498 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5498
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5498#FFFFFF#000000##000000
##CF54981.003.915.375.37
#FFFFFF3.911.0021.0021.00
#0000005.3721.001.001.00
##0000005.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#63739A
Deuteranopia (green-blind)
#858995
Tritanopia (blue-blind)
#DD506F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #cf5498;
/* rgb */ color: rgb(207, 84, 152);
/* oklch */ color: oklch(62.5% 0.172 348.9);
Tailwind
colors: {
  custom: {
    50: '#e18ab6',
    500: '#cf5498',
    950: '#000000',
  },
}
SCSS
$custom: #cf5498;
$custom-light: #e18ab6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5498",
  "rgb": {
    "r": 207,
    "g": 84,
    "b": 152
  },
  "hsl": {
    "h": 326.829,
    "s": 56.164,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62504,
    "c": 0.17152,
    "h": 348.9
  },
  "luminance": 0.21873
}

Semantic roles & 50–950 ramp

primary
#CF5498
secondary
#A6D8BD
accent
#DF8C48
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CF5498

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

Preview Lab → · Contrast checker → · Palette generator →

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