#CB4787#CB4787

#CB4787 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.8% C 0.178 H 353.9°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#CB4787
RGBrgb(203, 71, 135)
HSLhsl(331, 56%, 54%)
HSVhsv(331, 65%, 80%)
CMYKcmyk(0%, 65%, 33.5%, 20.4%)
CIE-LABlab(50.64, 57.90, -7.46)
CIE-LCHlch(50.64, 58.38, 352.65°)
OKLaboklab(59.78% 0.1768 -0.019)
OKLCHoklch(59.78% 0.178 353.9)
XYZxyz(31.2567, 18.9557, 24.9297)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4787 #47CB8B
analogous
#CB47C9 #CB4787 #CB4947
triadic
#CB4787 #87CB47 #4787CB
tetradic
#CB4787 #C9CB47 #47CB8B #4947CB
square
#CB4787 #C9CB47 #47CB8B #4947CB
split-complementary
#CB4787 #47CB49 #47C9CB
monochromatic
#76214B #A62F69 #CB4787 #D877A6 #E6A6C5

Accessibility & contrast

On white

4.38
#CB4787 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#CB4787 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4787
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4787#FFFFFF#000000##000000
##CB47871.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6989
Deuteranopia (green-blind)
#818184
Tritanopia (blue-blind)
#DA3E61
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb4787;
/* rgb */ color: rgb(203, 71, 135);
/* oklch */ color: oklch(59.8% 0.178 353.9);
Tailwind
colors: {
  custom: {
    50: '#df82aa',
    500: '#cb4787',
    950: '#000000',
  },
}
SCSS
$custom: #cb4787;
$custom-light: #df82aa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4787",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 330.909,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.59779,
    "c": 0.17781,
    "h": 353.9
  },
  "luminance": 0.18952
}

Semantic roles & 50–950 ramp

primary
#CB4787
secondary
#9BD3B8
accent
#DF9649
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB4787

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

Preview Lab → · Contrast checker → · Palette generator →

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