#CB4E7D#CB4E7D

#CB4E7D is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.164 H 359.9°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#CB4E7D
RGBrgb(203, 78, 125)
HSLhsl(337, 55%, 55%)
HSVhsv(337, 62%, 80%)
CMYKcmyk(0%, 61.6%, 38.4%, 20.4%)
CIE-LABlab(51.42, 53.80, -0.32)
CIE-LCHlch(51.42, 53.80, 359.66°)
OKLaboklab(60.26% 0.1643 -0.0002)
OKLCHoklch(60.26% 0.164 359.9)
XYZxyz(31.0566, 19.6294, 21.5514)
Luminance0.1963 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E7D #4ECB9C
analogous
#CB4EBB #CB4E7D #CB5D4E
triadic
#CB4E7D #7DCB4E #4E7DCB
tetradic
#CB4E7D #BBCB4E #4ECB9C #5D4ECB
square
#CB4E7D #BBCB4E #4ECB9C #5D4ECB
split-complementary
#CB4E7D #4ECB5D #4EBBCB
monochromatic
#7B2445 #AA325F #CB4E7D #D97DA0 #E7ADC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4E7D#FFFFFF#000000##000000
##CB4E7D1.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)
#656C7E
Deuteranopia (green-blind)
#86837A
Tritanopia (blue-blind)
#DB4260
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4e7d;
/* rgb */ color: rgb(203, 78, 125);
/* oklch */ color: oklch(60.3% 0.164 359.9);
Tailwind
colors: {
  custom: {
    50: '#df86a2',
    500: '#cb4e7d',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e7d;
$custom-light: #df86a2;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e7d",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 125
  },
  "hsl": {
    "h": 337.44,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60256,
    "c": 0.1643,
    "h": 359.9
  },
  "luminance": 0.19626
}

Semantic roles & 50–950 ramp

primary
#CB4E7D
secondary
#A0D5C1
accent
#DEA64A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CB4E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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