#CF5A98#CF5A98

#CF5A98 is a light, vivid pink. Relative luminance 0.228; OKLCH L 63.3% C 0.163 H 349.8°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#CF5A98
RGBrgb(207, 90, 152)
HSLhsl(328, 55%, 58%)
HSVhsv(328, 57%, 81%)
CMYKcmyk(0%, 56.5%, 26.6%, 18.8%)
CIE-LABlab(54.92, 52.91, -11.07)
CIE-LCHlch(54.92, 54.05, 348.18°)
OKLaboklab(63.26% 0.16 -0.0288)
OKLCHoklch(63.26% 0.163 349.8)
XYZxyz(35.0571, 22.8480, 32.2635)
Luminance0.2284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5A98 #5ACF91
analogous
#CB5ACF #CF5A98 #CF5A5D
triadic
#CF5A98 #98CF5A #5A98CF
tetradic
#CF5A98 #CFCB5A #5ACF91 #5A5DCF
square
#CF5A98 #CFCB5A #5ACF91 #5A5DCF
split-complementary
#CF5A98 #5DCF5A #5ACFCB
monochromatic
#87275A #B7357A #CF5A98 #DD89B6 #EBB9D3

Accessibility & contrast

On white

3.77
#CF5A98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#CF5A98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5A98
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5A98#FFFFFF#000000##000000
##CF5A981.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#68779A
Deuteranopia (green-blind)
#888B95
Tritanopia (blue-blind)
#DD5672
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf5a98;
/* rgb */ color: rgb(207, 90, 152);
/* oklch */ color: oklch(63.3% 0.163 349.8);
Tailwind
colors: {
  custom: {
    50: '#e18eb6',
    500: '#cf5a98',
    950: '#000000',
  },
}
SCSS
$custom: #cf5a98;
$custom-light: #e18eb6;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5a98",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 152
  },
  "hsl": {
    "h": 328.205,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63261,
    "c": 0.16253,
    "h": 349.8
  },
  "luminance": 0.22845
}

Semantic roles & 50–950 ramp

primary
#CF5A98
secondary
#ABDAC1
accent
#DE8F4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160D11
muted
#847D80

Preview Lab

Preview with #CF5A98

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

Preview Lab → · Contrast checker → · Palette generator →

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