#CB479E#CB479E

#CB479E is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.7% C 0.190 H 343.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CB479E
RGBrgb(203, 71, 158)
HSLhsl(320, 56%, 54%)
HSVhsv(320, 65%, 80%)
CMYKcmyk(0%, 65%, 22.2%, 20.4%)
CIE-LABlab(51.47, 60.81, -19.89)
CIE-LCHlch(51.47, 63.98, 341.89°)
OKLaboklab(60.67% 0.1827 -0.053)
OKLCHoklch(60.67% 0.19 343.8)
XYZxyz(33.0545, 19.6748, 34.3979)
Luminance0.1967 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB479E #47CB74
analogous
#B647CB #CB479E #CB475C
triadic
#CB479E #9ECB47 #479ECB
tetradic
#CB479E #CBB647 #47CB74 #475CCB
square
#CB479E #CBB647 #47CB74 #475CCB
split-complementary
#CB479E #5CCB47 #47CBB6
monochromatic
#762159 #A62F7D #CB479E #D877B7 #E6A6D0

Accessibility & contrast

On white

4.26
#CB479E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#CB479E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB479E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB479E#FFFFFF#000000##000000
##CB479E1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#536DA1
Deuteranopia (green-blind)
#7A839B
Tritanopia (blue-blind)
#D8476C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb479e;
/* rgb */ color: rgb(203, 71, 158);
/* oklch */ color: oklch(60.7% 0.190 343.8);
Tailwind
colors: {
  custom: {
    50: '#de83ba',
    500: '#cb479e',
    950: '#000000',
  },
}
SCSS
$custom: #cb479e;
$custom-light: #de83ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb479e",
  "rgb": {
    "r": 203,
    "g": 71,
    "b": 158
  },
  "hsl": {
    "h": 320.455,
    "s": 55.932,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60665,
    "c": 0.19023,
    "h": 343.8
  },
  "luminance": 0.19672
}

Semantic roles & 50–950 ramp

primary
#CB479E
secondary
#9BD3AE
accent
#DF7C49
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB479E

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

Preview Lab → · Contrast checker → · Palette generator →

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