#CB3F9B#CB3F9B

#CB3F9B is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.7% C 0.199 H 344.5°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#CB3F9B
RGBrgb(203, 63, 155)
HSLhsl(321, 57%, 52%)
HSVhsv(321, 69%, 80%)
CMYKcmyk(0%, 69%, 23.6%, 20.4%)
CIE-LABlab(50.24, 63.48, -19.99)
CIE-LCHlch(50.24, 66.56, 342.52°)
OKLaboklab(59.73% 0.1915 -0.0532)
OKLCHoklch(59.73% 0.199 344.5)
XYZxyz(32.3237, 18.6214, 32.8960)
Luminance0.1862 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3F9B #3FCB6F
analogous
#B53FCB #CB3F9B #CB3F55
triadic
#CB3F9B #9BCB3F #3F9BCB
tetradic
#CB3F9B #CBB53F #3FCB6F #3F55CB
square
#CB3F9B #CBB53F #3FCB6F #3F55CB
split-complementary
#CB3F9B #55CB3F #3FCBB5
monochromatic
#711F55 #A12C79 #CB3F9B #D86FB4 #E59FCD

Accessibility & contrast

On white

4.45
#CB3F9B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#CB3F9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3F9B
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3F9B#FFFFFF#000000##000000
##CB3F9B1.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E699E
Deuteranopia (green-blind)
#788098
Tritanopia (blue-blind)
#D83E67
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #cb3f9b;
/* rgb */ color: rgb(203, 63, 155);
/* oklch */ color: oklch(59.7% 0.199 344.5);
Tailwind
colors: {
  custom: {
    50: '#df7fb8',
    500: '#cb3f9b',
    950: '#000000',
  },
}
SCSS
$custom: #cb3f9b;
$custom-light: #df7fb8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3f9b",
  "rgb": {
    "r": 203,
    "g": 63,
    "b": 155
  },
  "hsl": {
    "h": 320.571,
    "s": 57.377,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59728,
    "c": 0.19873,
    "h": 344.5
  },
  "luminance": 0.18618
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB3F9B

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

Preview Lab → · Contrast checker → · Palette generator →

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