#CB3A9C#CB3A9C

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

Color values

HEX#CB3A9C
RGBrgb(203, 58, 156)
HSLhsl(319, 58%, 51%)
HSVhsv(319, 71%, 80%)
CMYKcmyk(0%, 71.4%, 23.2%, 20.4%)
CIE-LABlab(49.65, 65.39, -21.50)
CIE-LCHlch(49.65, 68.83, 341.80°)
OKLaboklab(59.31% 0.1971 -0.0574)
OKLCHoklch(59.31% 0.205 343.8)
XYZxyz(32.1436, 18.1262, 33.2519)
Luminance0.1812 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A9C #3ACB69
analogous
#B13ACB #CB3A9C #CB3A53
triadic
#CB3A9C #9CCB3A #3A9CCB
tetradic
#CB3A9C #CBB13A #3ACB69 #3A53CB
square
#CB3A9C #CBB13A #3ACB69 #3A53CB
split-complementary
#CB3A9C #53CB3A #3ACBB1
monochromatic
#6E1D53 #9E2A78 #CB3A9C #D86AB4 #E59BCD

Accessibility & contrast

On white

4.54
#CB3A9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB3A9C#FFFFFF#000000##000000
##CB3A9C1.004.544.624.62
#FFFFFF4.541.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#49679F
Deuteranopia (green-blind)
#767F99
Tritanopia (blue-blind)
#D83A66
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb3a9c;
/* rgb */ color: rgb(203, 58, 156);
/* oklch */ color: oklch(59.3% 0.205 343.8);
Tailwind
colors: {
  custom: {
    50: '#df7db9',
    500: '#cb3a9c',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a9c;
$custom-light: #df7db9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a9c",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 156
  },
  "hsl": {
    "h": 319.448,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.59309,
    "c": 0.2053,
    "h": 343.8
  },
  "luminance": 0.18123
}

Semantic roles & 50–950 ramp

primary
#CB3A9C
secondary
#90D0A5
accent
#E17946
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B11
muted
#847C80

Preview Lab

Preview with #CB3A9C

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

Preview Lab → · Contrast checker → · Palette generator →

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