#CB4C7D#CB4C7D

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

Color values

HEX#CB4C7D
RGBrgb(203, 76, 125)
HSLhsl(337, 55%, 55%)
HSVhsv(337, 63%, 80%)
CMYKcmyk(0%, 62.6%, 38.4%, 20.4%)
CIE-LABlab(51.09, 54.67, -0.79)
CIE-LCHlch(51.09, 54.67, 359.17°)
OKLaboklab(60.02% 0.167 -0.0014)
OKLCHoklch(60.02% 0.167 359.5)
XYZxyz(30.9166, 19.3496, 21.5048)
Luminance0.1935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4C7D #4CCB9A
analogous
#CB4CBD #CB4C7D #CB5A4C
triadic
#CB4C7D #7DCB4C #4C7DCB
tetradic
#CB4C7D #BDCB4C #4CCB9A #5A4CCB
square
#CB4C7D #BDCB4C #4CCB9A #5A4CCB
split-complementary
#CB4C7D #4CCB5A #4CBDCB
monochromatic
#792344 #A9315F #CB4C7D #D97B9F #E7ABC2

Accessibility & contrast

On white

4.31
#CB4C7D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#CB4C7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4C7D
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4C7D#FFFFFF#000000##000000
##CB4C7D1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#636A7E
Deuteranopia (green-blind)
#85837A
Tritanopia (blue-blind)
#DB405F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4c7d;
/* rgb */ color: rgb(203, 76, 125);
/* oklch */ color: oklch(60.0% 0.167 359.5);
Tailwind
colors: {
  custom: {
    50: '#df85a2',
    500: '#cb4c7d',
    950: '#000000',
  },
}
SCSS
$custom: #cb4c7d;
$custom-light: #df85a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4c7d",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 125
  },
  "hsl": {
    "h": 336.85,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60016,
    "c": 0.16704,
    "h": 359.5
  },
  "luminance": 0.19346
}

Semantic roles & 50–950 ramp

primary
#CB4C7D
secondary
#9FD4C0
accent
#DEA549
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CB4C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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