#CB4F94#CB4F94

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

Color values

HEX#CB4F94
RGBrgb(203, 79, 148)
HSLhsl(327, 54%, 55%)
HSVhsv(327, 61%, 80%)
CMYKcmyk(0%, 61.1%, 27.1%, 20.4%)
CIE-LABlab(52.32, 56.13, -12.68)
CIE-LCHlch(52.32, 57.54, 347.27°)
OKLaboklab(61.17% 0.17 -0.0332)
OKLCHoklch(61.17% 0.173 349)
XYZxyz(32.7712, 20.4298, 30.2287)
Luminance0.2043 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F94 #4FCB86
analogous
#C44FCB #CB4F94 #CB4F56
triadic
#CB4F94 #94CB4F #4F94CB
tetradic
#CB4F94 #CBC44F #4FCB86 #4F56CB
square
#CB4F94 #CBC44F #4FCB86 #4F56CB
split-complementary
#CB4F94 #56CB4F #4FCBC4
monochromatic
#7B2455 #AA3275 #CB4F94 #D97EB1 #E7ADCD

Accessibility & contrast

On white

4.13
#CB4F94 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#CB4F94 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F94
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F94#FFFFFF#000000##000000
##CB4F941.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6F96
Deuteranopia (green-blind)
#818591
Tritanopia (blue-blind)
#D94B6B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb4f94;
/* rgb */ color: rgb(203, 79, 148);
/* oklch */ color: oklch(61.2% 0.173 349.0);
Tailwind
colors: {
  custom: {
    50: '#de87b3',
    500: '#cb4f94',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f94;
$custom-light: #de87b3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f94",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 148
  },
  "hsl": {
    "h": 326.613,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6117,
    "c": 0.1732,
    "h": 349
  },
  "luminance": 0.20427
}

Semantic roles & 50–950 ramp

primary
#CB4F94
secondary
#A1D5B8
accent
#DE8C4A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4F94

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

Preview Lab → · Contrast checker → · Palette generator →

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