#CB4C7B#CB4C7B

#CB4C7B is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.0% C 0.166 H 0.5°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#CB4C7B
RGBrgb(203, 76, 123)
HSLhsl(338, 55%, 55%)
HSVhsv(338, 63%, 80%)
CMYKcmyk(0%, 62.6%, 39.4%, 20.4%)
CIE-LABlab(51.04, 54.45, 0.32)
CIE-LCHlch(51.04, 54.45, 0.34°)
OKLaboklab(59.95% 0.1664 0.0015)
OKLCHoklch(59.95% 0.166 0.5)
XYZxyz(30.7902, 19.2990, 20.8387)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4C7B #4CCB9C
analogous
#CB4CBB #CB4C7B #CB5D4C
triadic
#CB4C7B #7BCB4C #4C7BCB
tetradic
#CB4C7B #BBCB4C #4CCB9C #5D4CCB
square
#CB4C7B #BBCB4C #4CCB9C #5D4CCB
split-complementary
#CB4C7B #4CCB5D #4CBBCB
monochromatic
#792343 #A9315D #CB4C7B #D97B9E #E7ABC1

Accessibility & contrast

On white

4.32
#CB4C7B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#CB4C7B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4C7B
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4C7B#FFFFFF#000000##000000
##CB4C7B1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A7C
Deuteranopia (green-blind)
#858378
Tritanopia (blue-blind)
#DB3F5E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4c7b;
/* rgb */ color: rgb(203, 76, 123);
/* oklch */ color: oklch(60.0% 0.166 0.5);
Tailwind
colors: {
  custom: {
    50: '#df85a1',
    500: '#cb4c7b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4c7b;
$custom-light: #df85a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4c7b",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 123
  },
  "hsl": {
    "h": 337.795,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59954,
    "c": 0.16636,
    "h": 0.5
  },
  "luminance": 0.19295
}

Semantic roles & 50–950 ramp

primary
#CB4C7B
secondary
#9FD4C0
accent
#DEA749
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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