#CB4F9C#CB4F9C

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

Color values

HEX#CB4F9C
RGBrgb(203, 79, 156)
HSLhsl(323, 54%, 55%)
HSVhsv(323, 61%, 80%)
CMYKcmyk(0%, 61.1%, 23.2%, 20.4%)
CIE-LABlab(52.61, 57.19, -16.96)
CIE-LCHlch(52.61, 59.66, 343.48°)
OKLaboklab(61.48% 0.172 -0.0449)
OKLCHoklch(61.48% 0.178 345.4)
XYZxyz(33.4264, 20.6919, 33.6796)
Luminance0.2069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F9C #4FCB7E
analogous
#BC4FCB #CB4F9C #CB4F5E
triadic
#CB4F9C #9CCB4F #4F9CCB
tetradic
#CB4F9C #CBBC4F #4FCB7E #4F5ECB
square
#CB4F9C #CBBC4F #4FCB7E #4F5ECB
split-complementary
#CB4F9C #5ECB4F #4FCBBC
monochromatic
#7B245A #AA327D #CB4F9C #D97EB7 #E7ADD1

Accessibility & contrast

On white

4.09
#CB4F9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4F9C#FFFFFF#000000##000000
##CB4F9C1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B709E
Deuteranopia (green-blind)
#7F8599
Tritanopia (blue-blind)
#D84D6F
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #cb4f9c;
/* rgb */ color: rgb(203, 79, 156);
/* oklch */ color: oklch(61.5% 0.178 345.4);
Tailwind
colors: {
  custom: {
    50: '#de87b9',
    500: '#cb4f9c',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f9c;
$custom-light: #de87b9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f9c",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 156
  },
  "hsl": {
    "h": 322.742,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.6148,
    "c": 0.17782,
    "h": 345.4
  },
  "luminance": 0.20689
}

Semantic roles & 50–950 ramp

primary
#CB4F9C
secondary
#A1D5B5
accent
#DE824A
background
#FEF8FB
surface
#FCF0F6
border
#D5CBD0
text
#160C11
muted
#847D80

Preview Lab

Preview with #CB4F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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