#CB478E#CB478E

#CB478E is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.181 H 350.7°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CB478E
RGBrgb(203, 71, 142)
HSLhsl(328, 56%, 54%)
HSVhsv(328, 65%, 80%)
CMYKcmyk(0%, 65%, 30%, 20.4%)
CIE-LABlab(50.87, 58.74, -11.29)
CIE-LCHlch(50.87, 59.81, 349.12°)
OKLaboklab(60.03% 0.1788 -0.0293)
OKLCHoklch(60.03% 0.181 350.7)
XYZxyz(31.7659, 19.1594, 27.6112)
Luminance0.1916 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB478E #47CB84
analogous
#C647CB #CB478E #CB474C
triadic
#CB478E #8ECB47 #478ECB
tetradic
#CB478E #CBC647 #47CB84 #474CCB
square
#CB478E #CBC647 #47CB84 #474CCB
split-complementary
#CB478E #4CCB47 #47CBC6
monochromatic
#76214F #A62F6F #CB478E #D877AB #E6A6C9

Accessibility & contrast

On white

4.35
#CB478E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CB478E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB478E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB478E#FFFFFF#000000##000000
##CB478E1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A90
Deuteranopia (green-blind)
#7F828B
Tritanopia (blue-blind)
#D94064
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb478e;
/* rgb */ color: rgb(203, 71, 142);
/* oklch */ color: oklch(60.0% 0.181 350.7);
Tailwind
colors: {
  custom: {
    50: '#df82af',
    500: '#cb478e',
    950: '#000000',
  },
}
SCSS
$custom: #cb478e;
$custom-light: #df82af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb478e",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 142
  },
  "hsl": {
    "h": 327.727,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60033,
    "c": 0.18118,
    "h": 350.7
  },
  "luminance": 0.19156
}

Semantic roles & 50–950 ramp

primary
#CB478E
secondary
#9BD3B5
accent
#DF8E49
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB478E

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

Preview Lab → · Contrast checker → · Palette generator →

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