#CB4D8F#CB4D8F

#CB4D8F is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.173 H 351.0°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#CB4D8F
RGBrgb(203, 77, 143)
HSLhsl(329, 55%, 55%)
HSVhsv(329, 62%, 80%)
CMYKcmyk(0%, 62.1%, 29.6%, 20.4%)
CIE-LABlab(51.83, 56.35, -10.46)
CIE-LCHlch(51.83, 57.31, 349.49°)
OKLaboklab(60.75% 0.1713 -0.0271)
OKLCHoklch(60.75% 0.173 351)
XYZxyz(32.2419, 19.9907, 28.1419)
Luminance0.1999 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D8F #4DCB89
analogous
#C84DCB #CB4D8F #CB4D50
triadic
#CB4D8F #8FCB4D #4D8FCB
tetradic
#CB4D8F #CBC84D #4DCB89 #4D50CB
square
#CB4D8F #CBC84D #4DCB89 #4D50CB
split-complementary
#CB4D8F #50CB4D #4DCBC8
monochromatic
#7A2451 #A93170 #CB4D8F #D97CAD #E7ACCB

Accessibility & contrast

On white

4.20
#CB4D8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#CB4D8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4D8F
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4D8F#FFFFFF#000000##000000
##CB4D8F1.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6D91
Deuteranopia (green-blind)
#81848C
Tritanopia (blue-blind)
#D94768
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4d8f;
/* rgb */ color: rgb(203, 77, 143);
/* oklch */ color: oklch(60.7% 0.173 351.0);
Tailwind
colors: {
  custom: {
    50: '#df86af',
    500: '#cb4d8f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d8f;
$custom-light: #df86af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d8f",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 143
  },
  "hsl": {
    "h": 328.571,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60748,
    "c": 0.17341,
    "h": 351
  },
  "luminance": 0.19987
}

Semantic roles & 50–950 ramp

primary
#CB4D8F
secondary
#9FD4B9
accent
#DE904A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4D8F

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

Preview Lab → · Contrast checker → · Palette generator →

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