#CB3A8B#CB3A8B

#CB3A8B is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.6% C 0.196 H 350.6°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CB3A8B
RGBrgb(203, 58, 139)
HSLhsl(326, 58%, 51%)
HSVhsv(326, 71%, 80%)
CMYKcmyk(0%, 71.4%, 31.5%, 20.4%)
CIE-LABlab(49.00, 63.29, -12.33)
CIE-LCHlch(49.00, 64.48, 348.98°)
OKLaboklab(58.62% 0.1933 -0.0321)
OKLCHoklch(58.62% 0.196 350.6)
XYZxyz(30.8035, 17.5902, 26.1942)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A8B #3ACB7A
analogous
#C33ACB #CB3A8B #CB3A42
triadic
#CB3A8B #8BCB3A #3A8BCB
tetradic
#CB3A8B #CBC33A #3ACB7A #3A42CB
square
#CB3A8B #CBC33A #3ACB7A #3A42CB
split-complementary
#CB3A8B #42CB3A #3ACBC3
monochromatic
#6E1D4A #9E2A6B #CB3A8B #D86AA8 #E59BC4

Accessibility & contrast

On white

4.65
#CB3A8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#CB3A8B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3A8B
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3A8B#FFFFFF#000000##FFFFFF
##CB3A8B1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51648D
Deuteranopia (green-blind)
#7B7E88
Tritanopia (blue-blind)
#DA315D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb3a8b;
/* rgb */ color: rgb(203, 58, 139);
/* oklch */ color: oklch(58.6% 0.196 350.6);
Tailwind
colors: {
  custom: {
    50: '#df7cad',
    500: '#cb3a8b',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a8b;
$custom-light: #df7cad;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a8b",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 139
  },
  "hsl": {
    "h": 326.483,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58618,
    "c": 0.19597,
    "h": 350.6
  },
  "luminance": 0.17587
}

Semantic roles & 50–950 ramp

primary
#CB3A8B
secondary
#90D0AD
accent
#E18B46
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CB3A8B

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

Preview Lab → · Contrast checker → · Palette generator →

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