#CB4F87#CB4F87

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

Color values

HEX#CB4F87
RGBrgb(203, 79, 135)
HSLhsl(333, 54%, 55%)
HSVhsv(333, 61%, 80%)
CMYKcmyk(0%, 61.1%, 33.5%, 20.4%)
CIE-LABlab(51.88, 54.51, -5.61)
CIE-LCHlch(51.88, 54.79, 354.13°)
OKLaboklab(60.7% 0.1662 -0.0141)
OKLCHoklch(60.7% 0.167 355.2)
XYZxyz(31.7994, 20.0411, 25.1106)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F87 #4FCB93
analogous
#CB4FC5 #CB4F87 #CB554F
triadic
#CB4F87 #87CB4F #4F87CB
tetradic
#CB4F87 #C5CB4F #4FCB93 #554FCB
square
#CB4F87 #C5CB4F #4FCB93 #554FCB
split-complementary
#CB4F87 #4FCB55 #4FC5CB
monochromatic
#7B244C #AA3269 #CB4F87 #D97EA7 #E7ADC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4F87#FFFFFF#000000##000000
##CB4F871.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)
#636D89
Deuteranopia (green-blind)
#848484
Tritanopia (blue-blind)
#DA4665
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4f87;
/* rgb */ color: rgb(203, 79, 135);
/* oklch */ color: oklch(60.7% 0.167 355.2);
Tailwind
colors: {
  custom: {
    50: '#df87a9',
    500: '#cb4f87',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f87;
$custom-light: #df87a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f87",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 135
  },
  "hsl": {
    "h": 332.903,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60704,
    "c": 0.16679,
    "h": 355.2
  },
  "luminance": 0.20038
}

Semantic roles & 50–950 ramp

primary
#CB4F87
secondary
#A1D5BD
accent
#DE9B4A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4F87

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

Preview Lab → · Contrast checker → · Palette generator →

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