#CB4E8C#CB4E8C

#CB4E8C is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.171 H 352.6°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CB4E8C
RGBrgb(203, 78, 140)
HSLhsl(330, 55%, 55%)
HSVhsv(330, 62%, 80%)
CMYKcmyk(0%, 61.6%, 31%, 20.4%)
CIE-LABlab(51.88, 55.55, -8.58)
CIE-LCHlch(51.88, 56.21, 351.22°)
OKLaboklab(60.76% 0.1691 -0.0221)
OKLCHoklch(60.76% 0.171 352.6)
XYZxyz(32.0882, 20.0421, 26.9845)
Luminance0.2004 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E8C #4ECB8D
analogous
#CB4ECA #CB4E8C #CB4F4E
triadic
#CB4E8C #8CCB4E #4E8CCB
tetradic
#CB4E8C #CACB4E #4ECB8D #4F4ECB
square
#CB4E8C #CACB4E #4ECB8D #4F4ECB
split-complementary
#CB4E8C #4ECB4F #4ECACB
monochromatic
#7B244F #AA326D #CB4E8C #D97DAB #E7ADC9

Accessibility & contrast

On white

4.19
#CB4E8C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CB4E8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E8C
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E8C#FFFFFF#000000##000000
##CB4E8C1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#606D8E
Deuteranopia (green-blind)
#838489
Tritanopia (blue-blind)
#D94767
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4e8c;
/* rgb */ color: rgb(203, 78, 140);
/* oklch */ color: oklch(60.8% 0.171 352.6);
Tailwind
colors: {
  custom: {
    50: '#df86ad',
    500: '#cb4e8c',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e8c;
$custom-light: #df86ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e8c",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 140
  },
  "hsl": {
    "h": 330.24,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60758,
    "c": 0.1705,
    "h": 352.6
  },
  "luminance": 0.20039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4E8C

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

Preview Lab → · Contrast checker → · Palette generator →

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