#CB3474#CB3474

#CB3474 is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.3% C 0.193 H 359.8°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CB3474
RGBrgb(203, 52, 116)
HSLhsl(335, 59%, 50%)
HSVhsv(335, 74%, 80%)
CMYKcmyk(0%, 74.4%, 42.9%, 20.4%)
CIE-LABlab(47.52, 62.87, -0.58)
CIE-LCHlch(47.52, 62.87, 359.47°)
OKLaboklab(57.29% 0.193 -0.0008)
OKLCHoklch(57.29% 0.193 359.8)
XYZxyz(29.0112, 16.4172, 18.1607)
Luminance0.1641 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3474 #34CB8B
analogous
#CB34BF #CB3474 #CB4034
triadic
#CB3474 #74CB34 #3474CB
tetradic
#CB3474 #BFCB34 #34CB8B #4034CB
square
#CB3474 #BFCB34 #34CB8B #4034CB
split-complementary
#CB3474 #34CB40 #34BFCB
monochromatic
#6A1B3C #9A2858 #CB3474 #D76595 #E495B7

Accessibility & contrast

On white

4.90
#CB3474 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CB3474 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3474
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3474#FFFFFF#000000##FFFFFF
##CB34741.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555E76
Deuteranopia (green-blind)
#7E7B71
Tritanopia (blue-blind)
#DC1B50
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cb3474;
/* rgb */ color: rgb(203, 52, 116);
/* oklch */ color: oklch(57.3% 0.193 359.8);
Tailwind
colors: {
  custom: {
    50: '#e0799b',
    500: '#cb3474',
    950: '#000000',
  },
}
SCSS
$custom: #cb3474;
$custom-light: #e0799b;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3474",
  "rgb": {
    "r": 203,
    "g": 52,
    "b": 116
  },
  "hsl": {
    "h": 334.57,
    "s": 59.216,
    "l": 50
  },
  "oklch": {
    "l": 0.57285,
    "c": 0.193,
    "h": 359.8
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#CB3474
secondary
#8CCFB3
accent
#E2A045
background
#FEF7F9
surface
#FDEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #CB3474

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

Preview Lab → · Contrast checker → · Palette generator →

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