#CB4A8E#CB4A8E

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

Color values

HEX#CB4A8E
RGBrgb(203, 74, 142)
HSLhsl(328, 55%, 54%)
HSVhsv(328, 64%, 80%)
CMYKcmyk(0%, 63.5%, 30%, 20.4%)
CIE-LABlab(51.33, 57.50, -10.61)
CIE-LCHlch(51.33, 58.47, 349.54°)
OKLaboklab(60.37% 0.1749 -0.0275)
OKLCHoklch(60.37% 0.177 351.1)
XYZxyz(31.9614, 19.5504, 27.6763)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A8E #4ACB87
analogous
#C84ACB #CB4A8E #CB4A4E
triadic
#CB4A8E #8ECB4A #4A8ECB
tetradic
#CB4A8E #CBC84A #4ACB87 #4A4ECB
square
#CB4A8E #CBC84A #4ACB87 #4A4ECB
split-complementary
#CB4A8E #4ECB4A #4ACBC8
monochromatic
#782350 #A8306F #CB4A8E #D97AAC #E6A9C9

Accessibility & contrast

On white

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

On black

4.91
#CB4A8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A8E
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A8E#FFFFFF#000000##000000
##CB4A8E1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6C90
Deuteranopia (green-blind)
#80838B
Tritanopia (blue-blind)
#D94366
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4a8e;
/* rgb */ color: rgb(203, 74, 142);
/* oklch */ color: oklch(60.4% 0.177 351.1);
Tailwind
colors: {
  custom: {
    50: '#df84af',
    500: '#cb4a8e',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a8e;
$custom-light: #df84af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a8e",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 328.372,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60366,
    "c": 0.17709,
    "h": 351.1
  },
  "luminance": 0.19547
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB4A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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