#CB2E7F#CB2E7F

#CB2E7F is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.2% C 0.203 H 354.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB2E7F
RGBrgb(203, 46, 127)
HSLhsl(329, 63%, 49%)
HSVhsv(329, 77%, 80%)
CMYKcmyk(0%, 77.3%, 37.4%, 20.4%)
CIE-LABlab(47.22, 65.80, -7.73)
CIE-LCHlch(47.22, 66.25, 353.30°)
OKLaboklab(57.18% 0.2022 -0.0196)
OKLCHoklch(57.18% 0.203 354.5)
XYZxyz(29.4383, 16.1865, 21.6486)
Luminance0.1618 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2E7F #2ECB7A
analogous
#C92ECB #CB2E7F #CB2E30
triadic
#CB2E7F #7FCB2E #2E7FCB
tetradic
#CB2E7F #CBC92E #2ECB7A #2E30CB
square
#CB2E7F #CBC92E #2ECB7A #2E30CB
split-complementary
#CB2E7F #30CB2E #2ECBC9
monochromatic
#671741 #992360 #CB2E7F #DA5C9D #E58EBB

Accessibility & contrast

On white

4.96
#CB2E7F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#CB2E7F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB2E7F
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2E7F#FFFFFF#000000##FFFFFF
##CB2E7F1.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5E81
Deuteranopia (green-blind)
#7A7A7B
Tritanopia (blue-blind)
#DB1953
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cb2e7f;
/* rgb */ color: rgb(203, 46, 127);
/* oklch */ color: oklch(57.2% 0.203 354.5);
Tailwind
colors: {
  custom: {
    50: '#e077a4',
    500: '#cb2e7f',
    950: '#000000',
  },
}
SCSS
$custom: #cb2e7f;
$custom-light: #e077a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2e7f",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 127
  },
  "hsl": {
    "h": 329.045,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57181,
    "c": 0.20315,
    "h": 354.5
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#CB2E7F
secondary
#85D0A9
accent
#E69142
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB2E7F

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

Preview Lab → · Contrast checker → · Palette generator →

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