#CB2E5F#CB2E5F

#CB2E5F is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.2% C 0.194 H 8.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#CB2E5F
RGBrgb(203, 46, 95)
HSLhsl(341, 63%, 49%)
HSVhsv(341, 77%, 80%)
CMYKcmyk(0%, 77.3%, 53.2%, 20.4%)
CIE-LABlab(46.29, 62.92, 10.56)
CIE-LCHlch(46.29, 63.80, 9.53°)
OKLaboklab(56.19% 0.1916 0.0271)
OKLCHoklch(56.19% 0.194 8)
XYZxyz(27.6737, 15.4807, 12.3551)
Luminance0.1548 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB2E5F #2ECB9A
analogous
#CB2EAE #CB2E5F #CB4C2E
triadic
#CB2E5F #5FCB2E #2E5FCB
tetradic
#CB2E5F #AECB2E #2ECB9A #4C2ECB
square
#CB2E5F #AECB2E #2ECB9A #4C2ECB
split-complementary
#CB2E5F #2ECB4C #2EAECB
monochromatic
#671730 #992348 #CB2E5F #DA5C83 #E58EA9

Accessibility & contrast

On white

5.13
#CB2E5F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#CB2E5F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB2E5F
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB2E5F#FFFFFF#000000##FFFFFF
##CB2E5F1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575A60
Deuteranopia (green-blind)
#80795B
Tritanopia (blue-blind)
#DE0043
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cb2e5f;
/* rgb */ color: rgb(203, 46, 95);
/* oklch */ color: oklch(56.2% 0.194 8.0);
Tailwind
colors: {
  custom: {
    50: '#e2768c',
    500: '#cb2e5f',
    950: '#000000',
  },
}
SCSS
$custom: #cb2e5f;
$custom-light: #e2768c;
$custom-dark: #000000;
JSON
{
  "hex": "#cb2e5f",
  "rgb": {
    "r": 203,
    "g": 46,
    "b": 95
  },
  "hsl": {
    "h": 341.274,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56192,
    "c": 0.19351,
    "h": 8
  },
  "luminance": 0.15477
}

Semantic roles & 50–950 ramp

primary
#CB2E5F
secondary
#85D0B8
accent
#E6B342
background
#FEF7F8
surface
#FDEEF0
border
#D5C9CB
text
#17090C
muted
#857B7D

Preview Lab

Preview with #CB2E5F

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

Preview Lab → · Contrast checker → · Palette generator →

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