#CB2E8A#CB2E8A

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

Color values

HEX#CB2E8A
RGBrgb(203, 46, 138)
HSLhsl(325, 63%, 49%)
HSVhsv(325, 77%, 80%)
CMYKcmyk(0%, 77.3%, 32%, 20.4%)
CIE-LABlab(47.61, 66.99, -13.82)
CIE-LCHlch(47.61, 68.40, 348.34°)
OKLaboklab(57.6% 0.2051 -0.0361)
OKLCHoklch(57.6% 0.208 350)
XYZxyz(30.1948, 16.4891, 25.6324)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2E8A #2ECB6F
analogous
#BE2ECB #CB2E8A #CB2E3C
triadic
#CB2E8A #8ACB2E #2E8ACB
tetradic
#CB2E8A #CBBE2E #2ECB6F #2E3CCB
square
#CB2E8A #CBBE2E #2ECB6F #2E3CCB
split-complementary
#CB2E8A #3CCB2E #2ECBBE
monochromatic
#671746 #992368 #CB2E8A #DA5CA6 #E58EC1

Accessibility & contrast

On white

4.89
#CB2E8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CB2E8A
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2E8A#FFFFFF#000000##FFFFFF
##CB2E8A1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8C
Deuteranopia (green-blind)
#777B87
Tritanopia (blue-blind)
#DA2259
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cb2e8a;
/* rgb */ color: rgb(203, 46, 138);
/* oklch */ color: oklch(57.6% 0.208 350.0);
Tailwind
colors: {
  custom: {
    50: '#e077ac',
    500: '#cb2e8a',
    950: '#000000',
  },
}
SCSS
$custom: #cb2e8a;
$custom-light: #e077ac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2e8a",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 138
  },
  "hsl": {
    "h": 324.841,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57595,
    "c": 0.2082,
    "h": 350
  },
  "luminance": 0.16485
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB2E8A

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

Preview Lab → · Contrast checker → · Palette generator →

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