#CB3881#CB3881

#CB3881 is a mid, vivid pink. Relative luminance 0.171; OKLCH L 58.1% C 0.194 H 354.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#CB3881
RGBrgb(203, 56, 129)
HSLhsl(330, 59%, 51%)
HSVhsv(330, 72%, 80%)
CMYKcmyk(0%, 72.4%, 36.5%, 20.4%)
CIE-LABlab(48.40, 62.86, -7.18)
CIE-LCHlch(48.40, 63.27, 353.48°)
OKLaboklab(58.07% 0.1928 -0.0182)
OKLCHoklch(58.07% 0.194 354.6)
XYZxyz(30.0071, 17.1135, 22.4876)
Luminance0.1711 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3881 #38CB82
analogous
#CB38CB #CB3881 #CB3838
triadic
#CB3881 #81CB38 #3881CB
tetradic
#CB3881 #CBCB38 #38CB82 #3838CB
square
#CB3881 #CBCB38 #38CB82 #3838CB
split-complementary
#CB3881 #38CB38 #38CBCB
monochromatic
#6C1C44 #9D2963 #CB3881 #D869A0 #E499BE

Accessibility & contrast

On white

4.75
#CB3881 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#CB3881 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3881
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3881#FFFFFF#000000##FFFFFF
##CB38811.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546283
Deuteranopia (green-blind)
#7D7D7E
Tritanopia (blue-blind)
#DB2958
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cb3881;
/* rgb */ color: rgb(203, 56, 129);
/* oklch */ color: oklch(58.1% 0.194 354.6);
Tailwind
colors: {
  custom: {
    50: '#e07ba5',
    500: '#cb3881',
    950: '#000000',
  },
}
SCSS
$custom: #cb3881;
$custom-light: #e07ba5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3881",
  "rgb": {
    "r": 203,
    "g": 56,
    "b": 129
  },
  "hsl": {
    "h": 330.204,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.5807,
    "c": 0.19362,
    "h": 354.6
  },
  "luminance": 0.1711
}

Semantic roles & 50–950 ramp

primary
#CB3881
secondary
#8FD0B0
accent
#E29446
background
#FEF7FA
surface
#FDEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #CB3881

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

Preview Lab → · Contrast checker → · Palette generator →

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