#CB3478#CB3478

#CB3478 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.4% C 0.194 H 358.0°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CB3478
RGBrgb(203, 52, 120)
HSLhsl(333, 59%, 50%)
HSVhsv(333, 74%, 80%)
CMYKcmyk(0%, 74.4%, 40.9%, 20.4%)
CIE-LABlab(47.64, 63.26, -2.84)
CIE-LCHlch(47.64, 63.32, 357.43°)
OKLaboklab(57.42% 0.1943 -0.0067)
OKLCHoklch(57.42% 0.194 358)
XYZxyz(29.2489, 16.5123, 19.4126)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3478 #34CB87
analogous
#CB34C4 #CB3478 #CB3B34
triadic
#CB3478 #78CB34 #3478CB
tetradic
#CB3478 #C4CB34 #34CB87 #3B34CB
square
#CB3478 #C4CB34 #34CB87 #3B34CB
split-complementary
#CB3478 #34CB3B #34C4CB
monochromatic
#6A1B3E #9A285B #CB3478 #D76598 #E495B9

Accessibility & contrast

On white

4.88
#CB3478 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#CB3478 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3478
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3478#FFFFFF#000000##FFFFFF
##CB34781.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545F7A
Deuteranopia (green-blind)
#7D7B75
Tritanopia (blue-blind)
#DC1E52
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cb3478;
/* rgb */ color: rgb(203, 52, 120);
/* oklch */ color: oklch(57.4% 0.194 358.0);
Tailwind
colors: {
  custom: {
    50: '#e0799e',
    500: '#cb3478',
    950: '#000000',
  },
}
SCSS
$custom: #cb3478;
$custom-light: #e0799e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3478",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 120
  },
  "hsl": {
    "h": 332.98,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.57415,
    "c": 0.19439,
    "h": 358
  },
  "luminance": 0.16509
}

Semantic roles & 50–950 ramp

primary
#CB3478
secondary
#8CCFB1
accent
#E29C45
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB3478

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

Preview Lab → · Contrast checker → · Palette generator →

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