#CB3977#CB3977

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

Color values

HEX#CB3977
RGBrgb(203, 57, 119)
HSLhsl(335, 58%, 51%)
HSVhsv(335, 72%, 80%)
CMYKcmyk(0%, 71.9%, 41.4%, 20.4%)
CIE-LABlab(48.21, 61.48, -1.40)
CIE-LCHlch(48.21, 61.50, 358.70°)
OKLaboklab(57.82% 0.1886 -0.0029)
OKLCHoklch(57.82% 0.189 359.1)
XYZxyz(29.4236, 16.9584, 19.1730)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3977 #39CB8D
analogous
#CB39C0 #CB3977 #CB4439
triadic
#CB3977 #77CB39 #3977CB
tetradic
#CB3977 #C0CB39 #39CB8D #4439CB
square
#CB3977 #C0CB39 #39CB8D #4439CB
split-complementary
#CB3977 #39CB44 #39C0CB
monochromatic
#6D1D3F #9D295B #CB3977 #D86998 #E49ABA

Accessibility & contrast

On white

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

On black

4.39
#CB3977 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CB3977#FFFFFF#000000##FFFFFF
##CB39771.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#576179
Deuteranopia (green-blind)
#7F7D74
Tritanopia (blue-blind)
#DC2553
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #cb3977;
/* rgb */ color: rgb(203, 57, 119);
/* oklch */ color: oklch(57.8% 0.189 359.1);
Tailwind
colors: {
  custom: {
    50: '#e07b9e',
    500: '#cb3977',
    950: '#000000',
  },
}
SCSS
$custom: #cb3977;
$custom-light: #e07b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3977",
  "rgb": {
    "r": 203,
    "g": 57,
    "b": 119
  },
  "hsl": {
    "h": 334.521,
    "s": 58.4,
    "l": 50.98
  },
  "oklch": {
    "l": 0.57823,
    "c": 0.18863,
    "h": 359.1
  },
  "luminance": 0.16955
}

Semantic roles & 50–950 ramp

primary
#CB3977
secondary
#90D0B5
accent
#E2A046
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB3977

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

Preview Lab → · Contrast checker → · Palette generator →

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