#CB4B7E#CB4B7E

#CB4B7E is a mid, vivid pink. Relative luminance 0.192; OKLCH L 59.9% C 0.169 H 358.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CB4B7E
RGBrgb(203, 75, 126)
HSLhsl(336, 55%, 55%)
HSVhsv(336, 63%, 80%)
CMYKcmyk(0%, 63.1%, 37.9%, 20.4%)
CIE-LABlab(50.97, 55.21, -1.58)
CIE-LCHlch(50.97, 55.23, 358.36°)
OKLaboklab(59.93% 0.1687 -0.0034)
OKLCHoklch(59.93% 0.169 358.8)
XYZxyz(30.9125, 19.2385, 21.8201)
Luminance0.1923 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4B7E #4BCB98
analogous
#CB4BBE #CB4B7E #CB584B
triadic
#CB4B7E #7ECB4B #4B7ECB
tetradic
#CB4B7E #BECB4B #4BCB98 #584BCB
square
#CB4B7E #BECB4B #4BCB98 #584BCB
split-complementary
#CB4B7E #4BCB58 #4BBECB
monochromatic
#792345 #A83160 #CB4B7E #D97AA0 #E6AAC2

Accessibility & contrast

On white

4.33
#CB4B7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CB4B7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4B7E
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4B7E#FFFFFF#000000##000000
##CB4B7E1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#626A7F
Deuteranopia (green-blind)
#84827B
Tritanopia (blue-blind)
#DB3F5F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb4b7e;
/* rgb */ color: rgb(203, 75, 126);
/* oklch */ color: oklch(59.9% 0.169 358.8);
Tailwind
colors: {
  custom: {
    50: '#df84a3',
    500: '#cb4b7e',
    950: '#000000',
  },
}
SCSS
$custom: #cb4b7e;
$custom-light: #df84a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4b7e",
  "rgb": {
    "r": 203,
    "g": 75,
    "b": 126
  },
  "hsl": {
    "h": 336.094,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.59931,
    "c": 0.16875,
    "h": 358.8
  },
  "luminance": 0.19235
}

Semantic roles & 50–950 ramp

primary
#CB4B7E
secondary
#9ED4BE
accent
#DFA349
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB4B7E

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

Preview Lab → · Contrast checker → · Palette generator →

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