#CB4E8B#CB4E8B

#CB4E8B is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.170 H 353.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CB4E8B
RGBrgb(203, 78, 139)
HSLhsl(331, 55%, 55%)
HSVhsv(331, 62%, 80%)
CMYKcmyk(0%, 61.6%, 31.5%, 20.4%)
CIE-LABlab(51.85, 55.43, -8.04)
CIE-LCHlch(51.85, 56.01, 351.75°)
OKLaboklab(60.72% 0.1688 -0.0206)
OKLCHoklch(60.72% 0.17 353)
XYZxyz(32.0148, 20.0127, 26.5979)
Luminance0.2001 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E8B #4ECB8E
analogous
#CB4EC9 #CB4E8B #CB504E
triadic
#CB4E8B #8BCB4E #4E8BCB
tetradic
#CB4E8B #C9CB4E #4ECB8E #504ECB
square
#CB4E8B #C9CB4E #4ECB8E #504ECB
split-complementary
#CB4E8B #4ECB50 #4EC9CB
monochromatic
#7B244E #AA326C #CB4E8B #D97DAA #E7ADC9

Accessibility & contrast

On white

4.20
#CB4E8B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CB4E8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E8B
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E8B#FFFFFF#000000##000000
##CB4E8B1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8D
Deuteranopia (green-blind)
#838488
Tritanopia (blue-blind)
#DA4766
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4e8b;
/* rgb */ color: rgb(203, 78, 139);
/* oklch */ color: oklch(60.7% 0.170 353.0);
Tailwind
colors: {
  custom: {
    50: '#df86ac',
    500: '#cb4e8b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e8b;
$custom-light: #df86ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e8b",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 139
  },
  "hsl": {
    "h": 330.72,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60723,
    "c": 0.17002,
    "h": 353
  },
  "luminance": 0.20009
}

Semantic roles & 50–950 ramp

primary
#CB4E8B
secondary
#A0D5BB
accent
#DE964A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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