#CB4E7F#CB4E7F

#CB4E7F is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.3% C 0.165 H 358.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CB4E7F
RGBrgb(203, 78, 127)
HSLhsl(336, 55%, 55%)
HSVhsv(336, 62%, 80%)
CMYKcmyk(0%, 61.6%, 37.4%, 20.4%)
CIE-LABlab(51.47, 54.02, -1.43)
CIE-LCHlch(51.47, 54.04, 358.48°)
OKLaboklab(60.32% 0.165 -0.0031)
OKLCHoklch(60.32% 0.165 358.9)
XYZxyz(31.1856, 19.6811, 22.2311)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E7F #4ECB9A
analogous
#CB4EBD #CB4E7F #CB5B4E
triadic
#CB4E7F #7FCB4E #4E7FCB
tetradic
#CB4E7F #BDCB4E #4ECB9A #5B4ECB
square
#CB4E7F #BDCB4E #4ECB9A #5B4ECB
split-complementary
#CB4E7F #4ECB5B #4EBDCB
monochromatic
#7B2446 #AA3261 #CB4E7F #D97DA1 #E7ADC3

Accessibility & contrast

On white

4.25
#CB4E7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CB4E7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E7F
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E7F#FFFFFF#000000##000000
##CB4E7F1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#646C80
Deuteranopia (green-blind)
#86837C
Tritanopia (blue-blind)
#DB4361
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4e7f;
/* rgb */ color: rgb(203, 78, 127);
/* oklch */ color: oklch(60.3% 0.165 358.9);
Tailwind
colors: {
  custom: {
    50: '#df86a4',
    500: '#cb4e7f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e7f;
$custom-light: #df86a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e7f",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 127
  },
  "hsl": {
    "h": 336.48,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60319,
    "c": 0.165,
    "h": 358.9
  },
  "luminance": 0.19678
}

Semantic roles & 50–950 ramp

primary
#CB4E7F
secondary
#A0D5C0
accent
#DEA44A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB4E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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