#CB3A78#CB3A78

#CB3A78 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.9% C 0.188 H 358.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#CB3A78
RGBrgb(203, 58, 120)
HSLhsl(334, 58%, 51%)
HSVhsv(334, 71%, 80%)
CMYKcmyk(0%, 71.4%, 40.9%, 20.4%)
CIE-LABlab(48.36, 61.23, -1.78)
CIE-LCHlch(48.36, 61.26, 358.34°)
OKLaboklab(57.95% 0.1878 -0.0039)
OKLCHoklch(57.95% 0.188 358.8)
XYZxyz(29.5339, 17.0824, 19.5076)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A78 #3ACB8D
analogous
#CB3AC0 #CB3A78 #CB443A
triadic
#CB3A78 #78CB3A #3A78CB
tetradic
#CB3A78 #C0CB3A #3ACB8D #443ACB
square
#CB3A78 #C0CB3A #3ACB8D #443ACB
split-complementary
#CB3A78 #3ACB44 #3AC0CB
monochromatic
#6E1D3F #9E2A5B #CB3A78 #D86A99 #E59BBA

Accessibility & contrast

On white

4.76
#CB3A78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CB3A78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3A78
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3A78#FFFFFF#000000##FFFFFF
##CB3A781.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58617A
Deuteranopia (green-blind)
#7F7D75
Tritanopia (blue-blind)
#DC2754
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb3a78;
/* rgb */ color: rgb(203, 58, 120);
/* oklch */ color: oklch(57.9% 0.188 358.8);
Tailwind
colors: {
  custom: {
    50: '#e07b9e',
    500: '#cb3a78',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a78;
$custom-light: #e07b9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a78",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 120
  },
  "hsl": {
    "h": 334.345,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.57948,
    "c": 0.18785,
    "h": 358.8
  },
  "luminance": 0.17079
}

Semantic roles & 50–950 ramp

primary
#CB3A78
secondary
#90D0B5
accent
#E19F46
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB3A78

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

Preview Lab → · Contrast checker → · Palette generator →

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