#CB4C8F#CB4C8F

#CB4C8F is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.175 H 350.9°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CB4C8F
RGBrgb(203, 76, 143)
HSLhsl(328, 55%, 55%)
HSVhsv(328, 63%, 80%)
CMYKcmyk(0%, 62.6%, 29.6%, 20.4%)
CIE-LABlab(51.67, 56.78, -10.69)
CIE-LCHlch(51.67, 57.78, 349.34°)
OKLaboklab(60.63% 0.1726 -0.0277)
OKLCHoklch(60.63% 0.175 350.9)
XYZxyz(32.1724, 19.8519, 28.1187)
Luminance0.1985 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4C8F #4CCB88
analogous
#C74CCB #CB4C8F #CB4C50
triadic
#CB4C8F #8FCB4C #4C8FCB
tetradic
#CB4C8F #CBC74C #4CCB88 #4C50CB
square
#CB4C8F #CBC74C #4CCB88 #4C50CB
split-complementary
#CB4C8F #50CB4C #4CCBC7
monochromatic
#792351 #A93170 #CB4C8F #D97BAD #E7ABCA

Accessibility & contrast

On white

4.23
#CB4C8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CB4C8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4C8F
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4C8F#FFFFFF#000000##000000
##CB4C8F1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4c8f;
/* rgb */ color: rgb(203, 76, 143);
/* oklch */ color: oklch(60.6% 0.175 350.9);
Tailwind
colors: {
  custom: {
    50: '#df85af',
    500: '#cb4c8f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4c8f;
$custom-light: #df85af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4c8f",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 143
  },
  "hsl": {
    "h": 328.346,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.60632,
    "c": 0.17481,
    "h": 350.9
  },
  "luminance": 0.19849
}

Semantic roles & 50–950 ramp

primary
#CB4C8F
secondary
#9FD4B8
accent
#DE9049
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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