#CB3B8C#CB3B8C

#CB3B8C is a mid, vivid pink. Relative luminance 0.177; OKLCH L 58.7% C 0.195 H 350.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CB3B8C
RGBrgb(203, 59, 140)
HSLhsl(326, 58%, 51%)
HSVhsv(326, 71%, 80%)
CMYKcmyk(0%, 70.9%, 31%, 20.4%)
CIE-LABlab(49.16, 63.06, -12.68)
CIE-LCHlch(49.16, 64.32, 348.63°)
OKLaboklab(58.75% 0.1925 -0.033)
OKLCHoklch(58.75% 0.195 350.3)
XYZxyz(30.9278, 17.7214, 26.5977)
Luminance0.1772 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3B8C #3BCB7A
analogous
#C23BCB #CB3B8C #CB3B44
triadic
#CB3B8C #8CCB3B #3B8CCB
tetradic
#CB3B8C #CBC23B #3BCB7A #3B44CB
square
#CB3B8C #CBC23B #3BCB7A #3B44CB
split-complementary
#CB3B8C #44CB3B #3BCBC2
monochromatic
#6E1D4B #9F2A6C #CB3B8C #D86BA8 #E59CC5

Accessibility & contrast

On white

4.62
#CB3B8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#CB3B8C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3B8C
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3B8C#FFFFFF#000000##FFFFFF
##CB3B8C1.004.624.544.62
#FFFFFF4.621.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51658E
Deuteranopia (green-blind)
#7B7E89
Tritanopia (blue-blind)
#DA335E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb3b8c;
/* rgb */ color: rgb(203, 59, 140);
/* oklch */ color: oklch(58.7% 0.195 350.3);
Tailwind
colors: {
  custom: {
    50: '#df7dad',
    500: '#cb3b8c',
    950: '#000000',
  },
}
SCSS
$custom: #cb3b8c;
$custom-light: #df7dad;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3b8c",
  "rgb": {
    "r": 203,
    "g": 59,
    "b": 140
  },
  "hsl": {
    "h": 326.25,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58748,
    "c": 0.1953,
    "h": 350.3
  },
  "luminance": 0.17718
}

Semantic roles & 50–950 ramp

primary
#CB3B8C
secondary
#91D1AD
accent
#E18A47
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB3B8C

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

Preview Lab → · Contrast checker → · Palette generator →

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