#CF5B8A#CF5B8A

#CF5B8A is a light, vivid pink. Relative luminance 0.226; OKLCH L 62.9% C 0.154 H 357.1°. Best body text is #000000 at 5.52:1 contrast (WCAG AA passes).

Color values

HEX#CF5B8A
RGBrgb(207, 91, 138)
HSLhsl(336, 55%, 58%)
HSVhsv(336, 56%, 81%)
CMYKcmyk(0%, 56%, 33.3%, 18.8%)
CIE-LABlab(54.64, 50.66, -3.24)
CIE-LCHlch(54.64, 50.76, 356.34°)
OKLaboklab(62.91% 0.1542 -0.0079)
OKLCHoklch(62.91% 0.154 357.1)
XYZxyz(34.0623, 22.5860, 26.6055)
Luminance0.2258 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5B8A #5BCFA0
analogous
#CF5BC4 #CF5B8A #CF665B
triadic
#CF5B8A #8ACF5B #5B8ACF
tetradic
#CF5B8A #C4CF5B #5BCFA0 #665BCF
square
#CF5B8A #C4CF5B #5BCFA0 #665BCF
split-complementary
#CF5B8A #5BCF66 #5BC4CF
monochromatic
#88284F #B7366A #CF5B8A #DD8AAC #EBBACE

Accessibility & contrast

On white

3.81
#CF5B8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.52
#CF5B8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5B8A
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5B8A#FFFFFF#000000##000000
##CF5B8A1.003.815.525.52
#FFFFFF3.811.0021.0021.00
#0000005.5221.001.001.00
##0000005.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#6D758B
Deuteranopia (green-blind)
#8C8B87
Tritanopia (blue-blind)
#DE536D
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf5b8a;
/* rgb */ color: rgb(207, 91, 138);
/* oklch */ color: oklch(62.9% 0.154 357.1);
Tailwind
colors: {
  custom: {
    50: '#e18eac',
    500: '#cf5b8a',
    950: '#000000',
  },
}
SCSS
$custom: #cf5b8a;
$custom-light: #e18eac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5b8a",
  "rgb": {
    "r": 207,
    "g": 91,
    "b": 138
  },
  "hsl": {
    "h": 335.69,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62911,
    "c": 0.15437,
    "h": 357.1
  },
  "luminance": 0.22583
}

Semantic roles & 50–950 ramp

primary
#CF5B8A
secondary
#ACDAC7
accent
#DEA24A
background
#FEF9FA
surface
#FCF1F4
border
#D5CBCE
text
#160D10
muted
#847E7F

Preview Lab

Preview with #CF5B8A

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

Preview Lab → · Contrast checker → · Palette generator →

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