#CB4278#CB4278

#CB4278 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.178 H 0.1°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#CB4278
RGBrgb(203, 66, 120)
HSLhsl(336, 57%, 53%)
HSVhsv(336, 67%, 80%)
CMYKcmyk(0%, 67.5%, 40.9%, 20.4%)
CIE-LABlab(49.44, 58.25, -0.20)
CIE-LCHlch(49.44, 58.25, 359.80°)
OKLaboklab(58.74% 0.1784 0.0002)
OKLCHoklch(58.74% 0.178 0.1)
XYZxyz(29.9690, 17.9526, 19.6527)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4278 #42CB95
analogous
#CB42BD #CB4278 #CB5042
triadic
#CB4278 #78CB42 #4278CB
tetradic
#CB4278 #BDCB42 #42CB95 #5042CB
square
#CB4278 #BDCB42 #42CB95 #5042CB
split-complementary
#CB4278 #42CB50 #42BDCB
monochromatic
#732040 #A32D5B #CB4278 #D8729A #E5A2BD

Accessibility & contrast

On white

4.58
#CB4278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#CB4278 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4278
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4278#FFFFFF#000000##000000
##CB42781.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6579
Deuteranopia (green-blind)
#827F75
Tritanopia (blue-blind)
#DC3258
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb4278;
/* rgb */ color: rgb(203, 66, 120);
/* oklch */ color: oklch(58.7% 0.178 0.1);
Tailwind
colors: {
  custom: {
    50: '#e07f9e',
    500: '#cb4278',
    950: '#000000',
  },
}
SCSS
$custom: #cb4278;
$custom-light: #e07f9e;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4278",
  "rgb": {
    "r": 203,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 336.35,
    "s": 56.846,
    "l": 52.745
  },
  "oklch": {
    "l": 0.58741,
    "c": 0.17835,
    "h": 0.1
  },
  "luminance": 0.17949
}

Semantic roles & 50–950 ramp

primary
#CB4278
secondary
#97D2BB
accent
#E0A448
background
#FEF8F9
surface
#FDEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4278

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

Preview Lab → · Contrast checker → · Palette generator →

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