#CB4F96#CB4F96

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

Color values

HEX#CB4F96
RGBrgb(203, 79, 150)
HSLhsl(326, 54%, 55%)
HSVhsv(326, 61%, 80%)
CMYKcmyk(0%, 61.1%, 26.1%, 20.4%)
CIE-LABlab(52.39, 56.39, -13.76)
CIE-LCHlch(52.39, 58.04, 346.29°)
OKLaboklab(61.25% 0.1705 -0.0361)
OKLCHoklch(61.25% 0.174 348)
XYZxyz(32.9309, 20.4937, 31.0696)
Luminance0.2049 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F96 #4FCB84
analogous
#C24FCB #CB4F96 #CB4F58
triadic
#CB4F96 #96CB4F #4F96CB
tetradic
#CB4F96 #CBC24F #4FCB84 #4F58CB
square
#CB4F96 #CBC24F #4FCB84 #4F58CB
split-complementary
#CB4F96 #58CB4F #4FCBC2
monochromatic
#7B2456 #AA3277 #CB4F96 #D97EB2 #E7ADCE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4F96#FFFFFF#000000##000000
##CB4F961.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)
#5E6F98
Deuteranopia (green-blind)
#808593
Tritanopia (blue-blind)
#D84B6C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4f96;
/* rgb */ color: rgb(203, 79, 150);
/* oklch */ color: oklch(61.2% 0.174 348.0);
Tailwind
colors: {
  custom: {
    50: '#de87b5',
    500: '#cb4f96',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f96;
$custom-light: #de87b5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f96",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 150
  },
  "hsl": {
    "h": 325.645,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61246,
    "c": 0.1743,
    "h": 348
  },
  "luminance": 0.2049
}

Semantic roles & 50–950 ramp

primary
#CB4F96
secondary
#A1D5B7
accent
#DE894A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4F96

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

Preview Lab → · Contrast checker → · Palette generator →

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