#CF5A8D#CF5A8D

#CF5A8D is a light, vivid pink. Relative luminance 0.225; OKLCH L 62.9% C 0.157 H 355.3°. Best body text is #000000 at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#CF5A8D
RGBrgb(207, 90, 141)
HSLhsl(334, 55%, 58%)
HSVhsv(334, 57%, 81%)
CMYKcmyk(0%, 56.5%, 31.9%, 18.8%)
CIE-LABlab(54.56, 51.49, -5.13)
CIE-LCHlch(54.56, 51.75, 354.31°)
OKLaboklab(62.88% 0.1566 -0.0129)
OKLCHoklch(62.88% 0.157 355.3)
XYZxyz(34.1976, 22.5042, 27.7369)
Luminance0.2250 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5A8D #5ACF9C
analogous
#CF5AC8 #CF5A8D #CF615A
triadic
#CF5A8D #8DCF5A #5A8DCF
tetradic
#CF5A8D #C8CF5A #5ACF9C #615ACF
square
#CF5A8D #C8CF5A #5ACF9C #615ACF
split-complementary
#CF5A8D #5ACF61 #5AC8CF
monochromatic
#872751 #B7356E #CF5A8D #DD89AE #EBB9CF

Accessibility & contrast

On white

3.82
#CF5A8D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.50
#CF5A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5A8D
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5A8D#FFFFFF#000000##000000
##CF5A8D1.003.825.505.50
#FFFFFF3.821.0021.0021.00
#0000005.5021.001.001.00
##0000005.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B758F
Deuteranopia (green-blind)
#8B8A8A
Tritanopia (blue-blind)
#DE536E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf5a8d;
/* rgb */ color: rgb(207, 90, 141);
/* oklch */ color: oklch(62.9% 0.157 355.3);
Tailwind
colors: {
  custom: {
    50: '#e18dae',
    500: '#cf5a8d',
    950: '#000000',
  },
}
SCSS
$custom: #cf5a8d;
$custom-light: #e18dae;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5a8d",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 141
  },
  "hsl": {
    "h": 333.846,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62877,
    "c": 0.15713,
    "h": 355.3
  },
  "luminance": 0.22501
}

Semantic roles & 50–950 ramp

primary
#CF5A8D
secondary
#ABDAC5
accent
#DE9D4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160D10
muted
#847D7F

Preview Lab

Preview with #CF5A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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