#CB4D7F#CB4D7F

#CB4D7F is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.2% C 0.166 H 358.7°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CB4D7F
RGBrgb(203, 77, 127)
HSLhsl(336, 55%, 55%)
HSVhsv(336, 62%, 80%)
CMYKcmyk(0%, 62.1%, 37.4%, 20.4%)
CIE-LABlab(51.31, 54.46, -1.67)
CIE-LCHlch(51.31, 54.48, 358.24°)
OKLaboklab(60.2% 0.1663 -0.0037)
OKLCHoklch(60.2% 0.166 358.7)
XYZxyz(31.1151, 19.5400, 22.2076)
Luminance0.1954 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D7F #4DCB99
analogous
#CB4DBE #CB4D7F #CB5A4D
triadic
#CB4D7F #7FCB4D #4D7FCB
tetradic
#CB4D7F #BECB4D #4DCB99 #5A4DCB
square
#CB4D7F #BECB4D #4DCB99 #5A4DCB
split-complementary
#CB4D7F #4DCB5A #4DBECB
monochromatic
#7A2446 #A93161 #CB4D7F #D97CA1 #E7ACC3

Accessibility & contrast

On white

4.28
#CB4D7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CB4D7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4D7F
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4D7F#FFFFFF#000000##000000
##CB4D7F1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#636B80
Deuteranopia (green-blind)
#85837C
Tritanopia (blue-blind)
#DB4161
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4d7f;
/* rgb */ color: rgb(203, 77, 127);
/* oklch */ color: oklch(60.2% 0.166 358.7);
Tailwind
colors: {
  custom: {
    50: '#df85a4',
    500: '#cb4d7f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d7f;
$custom-light: #df85a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d7f",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 127
  },
  "hsl": {
    "h": 336.19,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60199,
    "c": 0.16638,
    "h": 358.7
  },
  "luminance": 0.19537
}

Semantic roles & 50–950 ramp

primary
#CB4D7F
secondary
#9FD4BF
accent
#DEA34A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB4D7F

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

Preview Lab → · Contrast checker → · Palette generator →

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