#CF5A9B#CF5A9B

#CF5A9B is a light, vivid pink. Relative luminance 0.229; OKLCH L 63.4% C 0.164 H 348.3°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#CF5A9B
RGBrgb(207, 90, 155)
HSLhsl(327, 55%, 58%)
HSVhsv(327, 57%, 81%)
CMYKcmyk(0%, 56.5%, 25.1%, 18.8%)
CIE-LABlab(55.02, 53.31, -12.67)
CIE-LCHlch(55.02, 54.80, 346.63°)
OKLaboklab(63.37% 0.1608 -0.0332)
OKLCHoklch(63.37% 0.164 348.3)
XYZxyz(35.3059, 22.9475, 33.5739)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5A9B #5ACF8E
analogous
#C95ACF #CF5A9B #CF5A60
triadic
#CF5A9B #9BCF5A #5A9BCF
tetradic
#CF5A9B #CFC95A #5ACF8E #5A60CF
square
#CF5A9B #CFC95A #5ACF8E #5A60CF
split-complementary
#CF5A9B #60CF5A #5ACFC9
monochromatic
#87275D #B7357D #CF5A9B #DD89B8 #EBB9D4

Accessibility & contrast

On white

3.76
#CF5A9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#CF5A9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5A9B
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5A9B#FFFFFF#000000##000000
##CF5A9B1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#67779D
Deuteranopia (green-blind)
#878B98
Tritanopia (blue-blind)
#DC5774
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #cf5a9b;
/* rgb */ color: rgb(207, 90, 155);
/* oklch */ color: oklch(63.4% 0.164 348.3);
Tailwind
colors: {
  custom: {
    50: '#e18eb8',
    500: '#cf5a9b',
    950: '#000000',
  },
}
SCSS
$custom: #cf5a9b;
$custom-light: #e18eb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5a9b",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 155
  },
  "hsl": {
    "h": 326.667,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.63372,
    "c": 0.16419,
    "h": 348.3
  },
  "luminance": 0.22944
}

Semantic roles & 50–950 ramp

primary
#CF5A9B
secondary
#ABDAC0
accent
#DE8C4A
background
#FEF9FB
surface
#FCF1F6
border
#D5CBD0
text
#160D11
muted
#847E80

Preview Lab

Preview with #CF5A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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