#CB3A9B#CB3A9B

#CB3A9B is a mid, highly saturated pink. Relative luminance 0.181; OKLCH L 59.3% C 0.205 H 344.2°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#CB3A9B
RGBrgb(203, 58, 155)
HSLhsl(320, 58%, 51%)
HSVhsv(320, 71%, 80%)
CMYKcmyk(0%, 71.4%, 23.6%, 20.4%)
CIE-LABlab(49.61, 65.26, -20.96)
CIE-LCHlch(49.61, 68.54, 342.19°)
OKLaboklab(59.27% 0.1969 -0.0559)
OKLCHoklch(59.27% 0.205 344.2)
XYZxyz(32.0593, 18.0925, 32.8078)
Luminance0.1809 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A9B #3ACB6A
analogous
#B23ACB #CB3A9B #CB3A52
triadic
#CB3A9B #9BCB3A #3A9BCB
tetradic
#CB3A9B #CBB23A #3ACB6A #3A52CB
square
#CB3A9B #CBB23A #3ACB6A #3A52CB
split-complementary
#CB3A9B #52CB3A #3ACBB2
monochromatic
#6E1D53 #9E2A78 #CB3A9B #D86AB4 #E59BCC

Accessibility & contrast

On white

4.55
#CB3A9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#CB3A9B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3A9B
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3A9B#FFFFFF#000000##000000
##CB3A9B1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A669E
Deuteranopia (green-blind)
#767F98
Tritanopia (blue-blind)
#D83966
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb3a9b;
/* rgb */ color: rgb(203, 58, 155);
/* oklch */ color: oklch(59.3% 0.205 344.2);
Tailwind
colors: {
  custom: {
    50: '#df7db8',
    500: '#cb3a9b',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a9b;
$custom-light: #df7db8;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a9b",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 155
  },
  "hsl": {
    "h": 319.862,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59266,
    "c": 0.20471,
    "h": 344.2
  },
  "luminance": 0.18089
}

Semantic roles & 50–950 ramp

primary
#CB3A9B
secondary
#90D0A6
accent
#E17A46
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB3A9B

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

Preview Lab → · Contrast checker → · Palette generator →

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