#CB4F82#CB4F82

#CB4F82 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.5% C 0.165 H 357.6°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#CB4F82
RGBrgb(203, 79, 130)
HSLhsl(335, 54%, 55%)
HSVhsv(335, 61%, 80%)
CMYKcmyk(0%, 61.1%, 36%, 20.4%)
CIE-LABlab(51.73, 53.92, -2.85)
CIE-LCHlch(51.73, 54.00, 356.97°)
OKLaboklab(60.54% 0.1646 -0.0068)
OKLCHoklch(60.54% 0.165 357.6)
XYZxyz(31.4556, 19.9036, 23.3000)
Luminance0.1990 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F82 #4FCB98
analogous
#CB4FC0 #CB4F82 #CB5A4F
triadic
#CB4F82 #82CB4F #4F82CB
tetradic
#CB4F82 #C0CB4F #4FCB98 #5A4FCB
square
#CB4F82 #C0CB4F #4FCB98 #5A4FCB
split-complementary
#CB4F82 #4FCB5A #4FC0CB
monochromatic
#7B2448 #AA3264 #CB4F82 #D97EA4 #E7ADC5

Accessibility & contrast

On white

4.22
#CB4F82 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#CB4F82 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F82
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F82#FFFFFF#000000##000000
##CB4F821.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#646D83
Deuteranopia (green-blind)
#85847F
Tritanopia (blue-blind)
#DA4563
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4f82;
/* rgb */ color: rgb(203, 79, 130);
/* oklch */ color: oklch(60.5% 0.165 357.6);
Tailwind
colors: {
  custom: {
    50: '#df86a6',
    500: '#cb4f82',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f82;
$custom-light: #df86a6;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f82",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 130
  },
  "hsl": {
    "h": 335.323,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60537,
    "c": 0.16473,
    "h": 357.6
  },
  "luminance": 0.199
}

Semantic roles & 50–950 ramp

primary
#CB4F82
secondary
#A1D5BF
accent
#DEA14A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB4F82

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

Preview Lab → · Contrast checker → · Palette generator →

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