#CB2E8B#CB2E8B

#CB2E8B is a mid, highly saturated pink. Relative luminance 0.165; OKLCH L 57.6% C 0.209 H 349.6°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CB2E8B
RGBrgb(203, 46, 139)
HSLhsl(324, 63%, 49%)
HSVhsv(324, 77%, 80%)
CMYKcmyk(0%, 77.3%, 31.5%, 20.4%)
CIE-LABlab(47.65, 67.10, -14.37)
CIE-LCHlch(47.65, 68.62, 347.91°)
OKLaboklab(57.63% 0.2053 -0.0376)
OKLCHoklch(57.63% 0.209 349.6)
XYZxyz(30.2675, 16.5182, 26.0155)
Luminance0.1651 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2E8B #2ECB6E
analogous
#BD2ECB #CB2E8B #CB2E3C
triadic
#CB2E8B #8BCB2E #2E8BCB
tetradic
#CB2E8B #CBBD2E #2ECB6E #2E3CCB
square
#CB2E8B #CBBD2E #2ECB6E #2E3CCB
split-complementary
#CB2E8B #3CCB2E #2ECBBD
monochromatic
#671747 #992369 #CB2E8B #DA5CA7 #E58EC2

Accessibility & contrast

On white

4.88
#CB2E8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#CB2E8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB2E8B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2E8B#FFFFFF#000000##FFFFFF
##CB2E8B1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#777B88
Tritanopia (blue-blind)
#DA2359
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cb2e8b;
/* rgb */ color: rgb(203, 46, 139);
/* oklch */ color: oklch(57.6% 0.209 349.6);
Tailwind
colors: {
  custom: {
    50: '#e077ad',
    500: '#cb2e8b',
    950: '#000000',
  },
}
SCSS
$custom: #cb2e8b;
$custom-light: #e077ad;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2e8b",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 139
  },
  "hsl": {
    "h": 324.459,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57634,
    "c": 0.20869,
    "h": 349.6
  },
  "luminance": 0.16515
}

Semantic roles & 50–950 ramp

primary
#CB2E8B
secondary
#85D0A4
accent
#E68542
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CB2E8B

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

Preview Lab → · Contrast checker → · Palette generator →

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