#CB4A8D#CB4A8D

#CB4A8D is a mid, vivid pink. Relative luminance 0.195; OKLCH L 60.3% C 0.177 H 351.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#CB4A8D
RGBrgb(203, 74, 141)
HSLhsl(329, 55%, 54%)
HSVhsv(329, 64%, 80%)
CMYKcmyk(0%, 63.5%, 30.5%, 20.4%)
CIE-LABlab(51.29, 57.38, -10.07)
CIE-LCHlch(51.29, 58.25, 350.05°)
OKLaboklab(60.33% 0.1747 -0.026)
OKLCHoklch(60.33% 0.177 351.5)
XYZxyz(31.8866, 19.5205, 27.2827)
Luminance0.1952 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A8D #4ACB88
analogous
#C94ACB #CB4A8D #CB4A4D
triadic
#CB4A8D #8DCB4A #4A8DCB
tetradic
#CB4A8D #CBC94A #4ACB88 #4A4DCB
square
#CB4A8D #CBC94A #4ACB88 #4A4DCB
split-complementary
#CB4A8D #4DCB4A #4ACBC9
monochromatic
#78234F #A8306E #CB4A8D #D97AAB #E6A9C9

Accessibility & contrast

On white

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

On black

4.90
#CB4A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A8D
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A8D#FFFFFF#000000##000000
##CB4A8D1.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5D6C8F
Deuteranopia (green-blind)
#80838A
Tritanopia (blue-blind)
#D94365
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4a8d;
/* rgb */ color: rgb(203, 74, 141);
/* oklch */ color: oklch(60.3% 0.177 351.5);
Tailwind
colors: {
  custom: {
    50: '#df84ae',
    500: '#cb4a8d',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a8d;
$custom-light: #df84ae;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a8d",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 328.837,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.6033,
    "c": 0.17659,
    "h": 351.5
  },
  "luminance": 0.19517
}

Semantic roles & 50–950 ramp

primary
#CB4A8D
secondary
#9DD4B7
accent
#DF9149
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB4A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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