#CB4E97#CB4E97

#CB4E97 is a mid, vivid pink. Relative luminance 0.204; OKLCH L 61.2% C 0.176 H 347.5°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CB4E97
RGBrgb(203, 78, 151)
HSLhsl(325, 55%, 55%)
HSVhsv(325, 62%, 80%)
CMYKcmyk(0%, 61.6%, 25.6%, 20.4%)
CIE-LABlab(52.27, 56.95, -14.53)
CIE-LCHlch(52.27, 58.78, 345.68°)
OKLaboklab(61.17% 0.1721 -0.0382)
OKLCHoklch(61.17% 0.176 347.5)
XYZxyz(32.9402, 20.3829, 31.4717)
Luminance0.2038 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E97 #4ECB82
analogous
#C04ECB #CB4E97 #CB4E59
triadic
#CB4E97 #97CB4E #4E97CB
tetradic
#CB4E97 #CBC04E #4ECB82 #4E59CB
square
#CB4E97 #CBC04E #4ECB82 #4E59CB
split-complementary
#CB4E97 #59CB4E #4ECBC0
monochromatic
#7B2457 #AA3278 #CB4E97 #D97DB3 #E7ADCF

Accessibility & contrast

On white

4.14
#CB4E97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#CB4E97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E97
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E97#FFFFFF#000000##000000
##CB4E971.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F99
Deuteranopia (green-blind)
#808594
Tritanopia (blue-blind)
#D84B6C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4e97;
/* rgb */ color: rgb(203, 78, 151);
/* oklch */ color: oklch(61.2% 0.176 347.5);
Tailwind
colors: {
  custom: {
    50: '#de86b5',
    500: '#cb4e97',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e97;
$custom-light: #de86b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e97",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 151
  },
  "hsl": {
    "h": 324.96,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.61167,
    "c": 0.17631,
    "h": 347.5
  },
  "luminance": 0.2038
}

Semantic roles & 50–950 ramp

primary
#CB4E97
secondary
#A0D5B6
accent
#DE874A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4E97

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

Preview Lab → · Contrast checker → · Palette generator →

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