#CB4E9A#CB4E9A

#CB4E9A is a mid, vivid pink. Relative luminance 0.205; OKLCH L 61.3% C 0.178 H 346.1°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#CB4E9A
RGBrgb(203, 78, 154)
HSLhsl(324, 55%, 55%)
HSVhsv(324, 62%, 80%)
CMYKcmyk(0%, 61.6%, 24.1%, 20.4%)
CIE-LABlab(52.38, 57.35, -16.14)
CIE-LCHlch(52.38, 59.58, 344.28°)
OKLaboklab(61.28% 0.1729 -0.0427)
OKLCHoklch(61.28% 0.178 346.1)
XYZxyz(33.1869, 20.4816, 32.7711)
Luminance0.2048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E9A #4ECB7F
analogous
#BD4ECB #CB4E9A #CB4E5B
triadic
#CB4E9A #9ACB4E #4E9ACB
tetradic
#CB4E9A #CBBD4E #4ECB7F #4E5BCB
square
#CB4E9A #CBBD4E #4ECB7F #4E5BCB
split-complementary
#CB4E9A #5BCB4E #4ECBBD
monochromatic
#7B2459 #AA327B #CB4E9A #D97DB5 #E7ADD0

Accessibility & contrast

On white

4.12
#CB4E9A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#CB4E9A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E9A
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E9A#FFFFFF#000000##000000
##CB4E9A1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6F9C
Deuteranopia (green-blind)
#7F8597
Tritanopia (blue-blind)
#D84C6D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4e9a;
/* rgb */ color: rgb(203, 78, 154);
/* oklch */ color: oklch(61.3% 0.178 346.1);
Tailwind
colors: {
  custom: {
    50: '#de86b7',
    500: '#cb4e9a',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e9a;
$custom-light: #de86b7;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e9a",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 154
  },
  "hsl": {
    "h": 323.52,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61284,
    "c": 0.17806,
    "h": 346.1
  },
  "luminance": 0.20478
}

Semantic roles & 50–950 ramp

primary
#CB4E9A
secondary
#A0D5B5
accent
#DE844A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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