#CB3B8E#CB3B8E

#CB3B8E is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.8% C 0.196 H 349.4°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#CB3B8E
RGBrgb(203, 59, 142)
HSLhsl(325, 58%, 51%)
HSVhsv(325, 71%, 80%)
CMYKcmyk(0%, 70.9%, 30%, 20.4%)
CIE-LABlab(49.23, 63.30, -13.78)
CIE-LCHlch(49.23, 64.78, 347.72°)
OKLaboklab(58.83% 0.193 -0.036)
OKLCHoklch(58.83% 0.196 349.4)
XYZxyz(31.0766, 17.7809, 27.3814)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3B8E #3BCB78
analogous
#C03BCB #CB3B8E #CB3B46
triadic
#CB3B8E #8ECB3B #3B8ECB
tetradic
#CB3B8E #CBC03B #3BCB78 #3B46CB
square
#CB3B8E #CBC03B #3BCB78 #3B46CB
split-complementary
#CB3B8E #46CB3B #3BCBC0
monochromatic
#6E1D4C #9F2A6D #CB3B8E #D86BAA #E59CC6

Accessibility & contrast

On white

4.61
#CB3B8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#CB3B8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3B8E
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3B8E#FFFFFF#000000##FFFFFF
##CB3B8E1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516590
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#DA345F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #cb3b8e;
/* rgb */ color: rgb(203, 59, 142);
/* oklch */ color: oklch(58.8% 0.196 349.4);
Tailwind
colors: {
  custom: {
    50: '#df7daf',
    500: '#cb3b8e',
    950: '#000000',
  },
}
SCSS
$custom: #cb3b8e;
$custom-light: #df7daf;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3b8e",
  "rgb": {
    "r": 203,
    "g": 59,
    "b": 142
  },
  "hsl": {
    "h": 325.417,
    "s": 58.065,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58825,
    "c": 0.19632,
    "h": 349.4
  },
  "luminance": 0.17777
}

Semantic roles & 50–950 ramp

primary
#CB3B8E
secondary
#91D1AC
accent
#E18847
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #CB3B8E

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

Preview Lab → · Contrast checker → · Palette generator →

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