#CF5A8A#CF5A8A

#CF5A8A is a light, vivid pink. Relative luminance 0.224; OKLCH L 62.8% C 0.156 H 356.9°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#CF5A8A
RGBrgb(207, 90, 138)
HSLhsl(335, 55%, 58%)
HSVhsv(335, 57%, 81%)
CMYKcmyk(0%, 56.5%, 33.3%, 18.8%)
CIE-LABlab(54.47, 51.13, -3.50)
CIE-LCHlch(54.47, 51.25, 356.09°)
OKLaboklab(62.78% 0.1556 -0.0085)
OKLCHoklch(62.78% 0.156 356.9)
XYZxyz(33.9774, 22.4161, 26.5772)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5A8A #5ACF9F
analogous
#CF5AC4 #CF5A8A #CF645A
triadic
#CF5A8A #8ACF5A #5A8ACF
tetradic
#CF5A8A #C4CF5A #5ACF9F #645ACF
square
#CF5A8A #C4CF5A #5ACF9F #645ACF
split-complementary
#CF5A8A #5ACF64 #5AC4CF
monochromatic
#87274F #B7356A #CF5A8A #DD89AC #EBB9CD

Accessibility & contrast

On white

3.83
#CF5A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#CF5A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5A8A
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5A8A#FFFFFF#000000##000000
##CF5A8A1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#6C758B
Deuteranopia (green-blind)
#8B8A87
Tritanopia (blue-blind)
#DE526C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #cf5a8a;
/* rgb */ color: rgb(207, 90, 138);
/* oklch */ color: oklch(62.8% 0.156 356.9);
Tailwind
colors: {
  custom: {
    50: '#e18dac',
    500: '#cf5a8a',
    950: '#000000',
  },
}
SCSS
$custom: #cf5a8a;
$custom-light: #e18dac;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5a8a",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 138
  },
  "hsl": {
    "h": 335.385,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62778,
    "c": 0.15585,
    "h": 356.9
  },
  "luminance": 0.22413
}

Semantic roles & 50–950 ramp

primary
#CF5A8A
secondary
#ABDAC7
accent
#DEA14A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160D10
muted
#847D7F

Preview Lab

Preview with #CF5A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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