#CB4F9D#CB4F9D

#CB4F9D is a mid, vivid pink. Relative luminance 0.207; OKLCH L 61.5% C 0.178 H 344.9°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#CB4F9D
RGBrgb(203, 79, 157)
HSLhsl(322, 54%, 55%)
HSVhsv(322, 61%, 80%)
CMYKcmyk(0%, 61.1%, 22.7%, 20.4%)
CIE-LABlab(52.65, 57.33, -17.50)
CIE-LCHlch(52.65, 59.94, 343.03°)
OKLaboklab(61.52% 0.1723 -0.0464)
OKLCHoklch(61.52% 0.178 344.9)
XYZxyz(33.5115, 20.7259, 34.1274)
Luminance0.2072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F9D #4FCB7D
analogous
#BB4FCB #CB4F9D #CB4F5F
triadic
#CB4F9D #9DCB4F #4F9DCB
tetradic
#CB4F9D #CBBB4F #4FCB7D #4F5FCB
square
#CB4F9D #CBBB4F #4FCB7D #4F5FCB
split-complementary
#CB4F9D #5FCB4F #4FCBBB
monochromatic
#7B245B #AA327E #CB4F9D #D97EB7 #E7ADD2

Accessibility & contrast

On white

4.08
#CB4F9D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#CB4F9D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F9D
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F9D#FFFFFF#000000##000000
##CB4F9D1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B709F
Deuteranopia (green-blind)
#7E859A
Tritanopia (blue-blind)
#D84E6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4f9d;
/* rgb */ color: rgb(203, 79, 157);
/* oklch */ color: oklch(61.5% 0.178 344.9);
Tailwind
colors: {
  custom: {
    50: '#de87ba',
    500: '#cb4f9d',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f9d;
$custom-light: #de87ba;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f9d",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 157
  },
  "hsl": {
    "h": 322.258,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.61521,
    "c": 0.17844,
    "h": 344.9
  },
  "luminance": 0.20723
}

Semantic roles & 50–950 ramp

primary
#CB4F9D
secondary
#A1D5B4
accent
#DE814A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4F9D

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

Preview Lab → · Contrast checker → · Palette generator →

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