#CB3978#CB3978

#CB3978 is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.189 H 358.7°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#CB3978
RGBrgb(203, 57, 120)
HSLhsl(334, 58%, 51%)
HSVhsv(334, 72%, 80%)
CMYKcmyk(0%, 71.9%, 40.9%, 20.4%)
CIE-LABlab(48.24, 61.58, -1.96)
CIE-LCHlch(48.24, 61.61, 358.18°)
OKLaboklab(57.86% 0.1889 -0.0044)
OKLCHoklch(57.86% 0.189 358.7)
XYZxyz(29.4840, 16.9825, 19.4910)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3978 #39CB8C
analogous
#CB39C1 #CB3978 #CB4339
triadic
#CB3978 #78CB39 #3978CB
tetradic
#CB3978 #C1CB39 #39CB8C #4339CB
square
#CB3978 #C1CB39 #39CB8C #4339CB
split-complementary
#CB3978 #39CB43 #39C1CB
monochromatic
#6D1D3F #9D295B #CB3978 #D86999 #E49ABA

Accessibility & contrast

On white

4.78
#CB3978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#CB3978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3978
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3978#FFFFFF#000000##FFFFFF
##CB39781.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57617A
Deuteranopia (green-blind)
#7F7D75
Tritanopia (blue-blind)
#DC2654
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb3978;
/* rgb */ color: rgb(203, 57, 120);
/* oklch */ color: oklch(57.9% 0.189 358.7);
Tailwind
colors: {
  custom: {
    50: '#e07b9e',
    500: '#cb3978',
    950: '#000000',
  },
}
SCSS
$custom: #cb3978;
$custom-light: #e07b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3978",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 120
  },
  "hsl": {
    "h": 334.11,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57855,
    "c": 0.18898,
    "h": 358.7
  },
  "luminance": 0.16979
}

Semantic roles & 50–950 ramp

primary
#CB3978
secondary
#90D0B4
accent
#E29F46
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB3978

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

Preview Lab → · Contrast checker → · Palette generator →

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