#CF5A8F#CF5A8F

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

Color values

HEX#CF5A8F
RGBrgb(207, 90, 143)
HSLhsl(333, 55%, 58%)
HSVhsv(333, 57%, 81%)
CMYKcmyk(0%, 56.5%, 30.9%, 18.8%)
CIE-LABlab(54.62, 51.74, -6.22)
CIE-LCHlch(54.62, 52.11, 353.15°)
OKLaboklab(62.94% 0.1572 -0.0158)
OKLCHoklch(62.94% 0.158 354.3)
XYZxyz(34.3478, 22.5643, 28.5277)
Luminance0.2256 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF5A8F #5ACF9A
analogous
#CF5AC9 #CF5A8F #CF5F5A
triadic
#CF5A8F #8FCF5A #5A8FCF
tetradic
#CF5A8F #C9CF5A #5ACF9A #5F5ACF
square
#CF5A8F #C9CF5A #5ACF9A #5F5ACF
split-complementary
#CF5A8F #5ACF5F #5AC9CF
monochromatic
#872753 #B73570 #CF5A8F #DD89AF #EBB9CF

Accessibility & contrast

On white

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

On black

5.51
#CF5A8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF5A8F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF5A8F#FFFFFF#000000##000000
##CF5A8F1.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#6B7591
Deuteranopia (green-blind)
#8A8B8C
Tritanopia (blue-blind)
#DD536E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #cf5a8f;
/* rgb */ color: rgb(207, 90, 143);
/* oklch */ color: oklch(62.9% 0.158 354.3);
Tailwind
colors: {
  custom: {
    50: '#e18daf',
    500: '#cf5a8f',
    950: '#000000',
  },
}
SCSS
$custom: #cf5a8f;
$custom-light: #e18daf;
$custom-dark: #000000;
JSON
{
  "hex": "#cf5a8f",
  "rgb": {
    "r": 207,
    "g": 90,
    "b": 143
  },
  "hsl": {
    "h": 332.821,
    "s": 54.93,
    "l": 58.235
  },
  "oklch": {
    "l": 0.62945,
    "c": 0.15802,
    "h": 354.3
  },
  "luminance": 0.22561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CF5A8F

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

Preview Lab → · Contrast checker → · Palette generator →

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