#CB4A97#CB4A97

#CB4A97 is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.7% C 0.182 H 347.0°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CB4A97
RGBrgb(203, 74, 151)
HSLhsl(324, 55%, 54%)
HSVhsv(324, 64%, 80%)
CMYKcmyk(0%, 63.5%, 25.6%, 20.4%)
CIE-LABlab(51.65, 58.65, -15.48)
CIE-LCHlch(51.65, 60.66, 345.22°)
OKLaboklab(60.71% 0.1773 -0.0408)
OKLCHoklch(60.71% 0.182 347)
XYZxyz(32.6646, 19.8317, 31.3798)
Luminance0.1983 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A97 #4ACB7E
analogous
#BF4ACB #CB4A97 #CB4A57
triadic
#CB4A97 #97CB4A #4A97CB
tetradic
#CB4A97 #CBBF4A #4ACB7E #4A57CB
square
#CB4A97 #CBBF4A #4ACB7E #4A57CB
split-complementary
#CB4A97 #57CB4A #4ACBBF
monochromatic
#782356 #A83077 #CB4A97 #D97AB2 #E6A9CE

Accessibility & contrast

On white

4.23
#CB4A97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CB4A97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A97
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A97#FFFFFF#000000##000000
##CB4A971.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#596D99
Deuteranopia (green-blind)
#7E8394
Tritanopia (blue-blind)
#D8476A
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4a97;
/* rgb */ color: rgb(203, 74, 151);
/* oklch */ color: oklch(60.7% 0.182 347.0);
Tailwind
colors: {
  custom: {
    50: '#de84b5',
    500: '#cb4a97',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a97;
$custom-light: #de84b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a97",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 151
  },
  "hsl": {
    "h": 324.186,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60709,
    "c": 0.18195,
    "h": 347
  },
  "luminance": 0.19828
}

Semantic roles & 50–950 ramp

primary
#CB4A97
secondary
#9DD4B3
accent
#DF8549
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB4A97

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

Preview Lab → · Contrast checker → · Palette generator →

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