#CB4A8A#CB4A8A

#CB4A8A is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.2% C 0.175 H 352.9°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#CB4A8A
RGBrgb(203, 74, 138)
HSLhsl(330, 55%, 54%)
HSVhsv(330, 64%, 80%)
CMYKcmyk(0%, 63.5%, 32%, 20.4%)
CIE-LABlab(51.19, 57.01, -8.43)
CIE-LCHlch(51.19, 57.63, 351.59°)
OKLaboklab(60.22% 0.1738 -0.0216)
OKLCHoklch(60.22% 0.175 352.9)
XYZxyz(31.6664, 19.4324, 26.1230)
Luminance0.1943 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A8A #4ACB8B
analogous
#CB4ACA #CB4A8A #CB4B4A
triadic
#CB4A8A #8ACB4A #4A8ACB
tetradic
#CB4A8A #CACB4A #4ACB8B #4B4ACB
square
#CB4A8A #CACB4A #4ACB8B #4B4ACB
split-complementary
#CB4A8A #4ACB4B #4ACACB
monochromatic
#78234D #A8306B #CB4A8A #D97AA9 #E6A9C7

Accessibility & contrast

On white

4.30
#CB4A8A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#CB4A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A8A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A8A#FFFFFF#000000##000000
##CB4A8A1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E6B8C
Deuteranopia (green-blind)
#818387
Tritanopia (blue-blind)
#DA4264
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4a8a;
/* rgb */ color: rgb(203, 74, 138);
/* oklch */ color: oklch(60.2% 0.175 352.9);
Tailwind
colors: {
  custom: {
    50: '#df84ac',
    500: '#cb4a8a',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a8a;
$custom-light: #df84ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a8a",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 330.233,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60221,
    "c": 0.17514,
    "h": 352.9
  },
  "luminance": 0.19429
}

Semantic roles & 50–950 ramp

primary
#CB4A8A
secondary
#9DD4B9
accent
#DF9449
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB4A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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