#CB3F9C#CB3F9C

#CB3F9C is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.8% C 0.199 H 344.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CB3F9C
RGBrgb(203, 63, 156)
HSLhsl(320, 57%, 52%)
HSVhsv(320, 69%, 80%)
CMYKcmyk(0%, 69%, 23.2%, 20.4%)
CIE-LABlab(50.28, 63.61, -20.52)
CIE-LCHlch(50.28, 66.84, 342.12°)
OKLaboklab(59.77% 0.1917 -0.0547)
OKLCHoklch(59.77% 0.199 344.1)
XYZxyz(32.4080, 18.6551, 33.3401)
Luminance0.1865 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3F9C #3FCB6E
analogous
#B43FCB #CB3F9C #CB3F56
triadic
#CB3F9C #9CCB3F #3F9CCB
tetradic
#CB3F9C #CBB43F #3FCB6E #3F56CB
square
#CB3F9C #CBB43F #3FCB6E #3F56CB
split-complementary
#CB3F9C #56CB3F #3FCBB4
monochromatic
#711F55 #A12C7A #CB3F9C #D86FB5 #E59FCE

Accessibility & contrast

On white

4.44
#CB3F9C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#CB3F9C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3F9C
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3F9C#FFFFFF#000000##000000
##CB3F9C1.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D699F
Deuteranopia (green-blind)
#788099
Tritanopia (blue-blind)
#D83E68
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb3f9c;
/* rgb */ color: rgb(203, 63, 156);
/* oklch */ color: oklch(59.8% 0.199 344.1);
Tailwind
colors: {
  custom: {
    50: '#df7fb9',
    500: '#cb3f9c',
    950: '#000000',
  },
}
SCSS
$custom: #cb3f9c;
$custom-light: #df7fb9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3f9c",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 156
  },
  "hsl": {
    "h": 320.143,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59771,
    "c": 0.19934,
    "h": 344.1
  },
  "luminance": 0.18652
}

Semantic roles & 50–950 ramp

primary
#CB3F9C
secondary
#94D1A9
accent
#E17B47
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB3F9C

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

Preview Lab → · Contrast checker → · Palette generator →

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