#CB4C87#CB4C87

#CB4C87 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.171 H 354.6°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#CB4C87
RGBrgb(203, 76, 135)
HSLhsl(332, 55%, 55%)
HSVhsv(332, 63%, 80%)
CMYKcmyk(0%, 62.6%, 33.5%, 20.4%)
CIE-LABlab(51.40, 55.81, -6.32)
CIE-LCHlch(51.40, 56.16, 353.54°)
OKLaboklab(60.35% 0.1703 -0.016)
OKLCHoklch(60.35% 0.171 354.6)
XYZxyz(31.5879, 19.6181, 25.0401)
Luminance0.1961 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4C87 #4CCB90
analogous
#CB4CC6 #CB4C87 #CB514C
triadic
#CB4C87 #87CB4C #4C87CB
tetradic
#CB4C87 #C6CB4C #4CCB90 #514CCB
square
#CB4C87 #C6CB4C #4CCB90 #514CCB
split-complementary
#CB4C87 #4CCB51 #4CC6CB
monochromatic
#79234B #A93169 #CB4C87 #D97BA7 #E7ABC7

Accessibility & contrast

On white

4.27
#CB4C87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CB4C87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4C87
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4C87#FFFFFF#000000##000000
##CB4C871.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#606C89
Deuteranopia (green-blind)
#838384
Tritanopia (blue-blind)
#DA4364
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4c87;
/* rgb */ color: rgb(203, 76, 135);
/* oklch */ color: oklch(60.3% 0.171 354.6);
Tailwind
colors: {
  custom: {
    50: '#df85a9',
    500: '#cb4c87',
    950: '#000000',
  },
}
SCSS
$custom: #cb4c87;
$custom-light: #df85a9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4c87",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 135
  },
  "hsl": {
    "h": 332.126,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60347,
    "c": 0.171,
    "h": 354.6
  },
  "luminance": 0.19615
}

Semantic roles & 50–950 ramp

primary
#CB4C87
secondary
#9FD4BB
accent
#DE9949
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4C87

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

Preview Lab → · Contrast checker → · Palette generator →

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