#CF4B87#CF4B87

#CF4B87 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.176 H 355.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CF4B87
RGBrgb(207, 75, 135)
HSLhsl(333, 58%, 55%)
HSVhsv(333, 64%, 81%)
CMYKcmyk(0%, 63.8%, 34.8%, 18.8%)
CIE-LABlab(51.89, 57.43, -5.52)
CIE-LCHlch(51.89, 57.70, 354.51°)
OKLaboklab(60.84% 0.1754 -0.0138)
OKLCHoklch(60.84% 0.176 355.5)
XYZxyz(32.6232, 20.0504, 25.0691)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4B87 #4BCF93
analogous
#CF4BC9 #CF4B87 #CF514B
triadic
#CF4B87 #87CF4B #4B87CF
tetradic
#CF4B87 #C9CF4B #4BCF93 #514BCF
square
#CF4B87 #C9CF4B #4BCF93 #514BCF
split-complementary
#CF4B87 #4BCF51 #4BC9CF
monochromatic
#7E224C #AE2E69 #CF4B87 #DC7BA7 #E9ACC7

Accessibility & contrast

On white

4.19
#CF4B87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CF4B87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CF4B87
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4B87#FFFFFF#000000##000000
##CF4B871.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#616C89
Deuteranopia (green-blind)
#858584
Tritanopia (blue-blind)
#DF4163
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cf4b87;
/* rgb */ color: rgb(207, 75, 135);
/* oklch */ color: oklch(60.8% 0.176 355.5);
Tailwind
colors: {
  custom: {
    50: '#e285a9',
    500: '#cf4b87',
    950: '#000000',
  },
}
SCSS
$custom: #cf4b87;
$custom-light: #e285a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4b87",
  "rgb": {
    "r": 207,
    "g": 75,
    "b": 135
  },
  "hsl": {
    "h": 332.727,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60836,
    "c": 0.17596,
    "h": 355.5
  },
  "luminance": 0.20047
}

Semantic roles & 50–950 ramp

primary
#CF4B87
secondary
#9FD6BD
accent
#E19B47
background
#FEF8FA
surface
#FDF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CF4B87

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

Preview Lab → · Contrast checker → · Palette generator →

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