#CB2E81#CB2E81

#CB2E81 is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.3% C 0.204 H 353.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CB2E81
RGBrgb(203, 46, 129)
HSLhsl(328, 63%, 49%)
HSVhsv(328, 77%, 80%)
CMYKcmyk(0%, 77.3%, 36.5%, 20.4%)
CIE-LABlab(47.29, 66.01, -8.85)
CIE-LCHlch(47.29, 66.60, 352.36°)
OKLaboklab(57.25% 0.2028 -0.0226)
OKLCHoklch(57.25% 0.204 353.6)
XYZxyz(29.5700, 16.2392, 22.3419)
Luminance0.1623 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2E81 #2ECB78
analogous
#C72ECB #CB2E81 #CB2E33
triadic
#CB2E81 #81CB2E #2E81CB
tetradic
#CB2E81 #CBC72E #2ECB78 #2E33CB
square
#CB2E81 #CBC72E #2ECB78 #2E33CB
split-complementary
#CB2E81 #33CB2E #2ECBC7
monochromatic
#671742 #992361 #CB2E81 #DA5C9F #E58EBC

Accessibility & contrast

On white

4.94
#CB2E81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#CB2E81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB2E81
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2E81#FFFFFF#000000##FFFFFF
##CB2E811.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5E83
Deuteranopia (green-blind)
#797A7D
Tritanopia (blue-blind)
#DB1B54
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cb2e81;
/* rgb */ color: rgb(203, 46, 129);
/* oklch */ color: oklch(57.3% 0.204 353.6);
Tailwind
colors: {
  custom: {
    50: '#e077a5',
    500: '#cb2e81',
    950: '#000000',
  },
}
SCSS
$custom: #cb2e81;
$custom-light: #e077a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2e81",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 129
  },
  "hsl": {
    "h": 328.28,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57254,
    "c": 0.20401,
    "h": 353.6
  },
  "luminance": 0.16235
}

Semantic roles & 50–950 ramp

primary
#CB2E81
secondary
#85D0A8
accent
#E68F42
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB2E81

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

Preview Lab → · Contrast checker → · Palette generator →

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