#CB3A87#CB3A87

#CB3A87 is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.5% C 0.194 H 352.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#CB3A87
RGBrgb(203, 58, 135)
HSLhsl(328, 58%, 51%)
HSVhsv(328, 71%, 80%)
CMYKcmyk(0%, 71.4%, 33.5%, 20.4%)
CIE-LABlab(48.85, 62.83, -10.13)
CIE-LCHlch(48.85, 63.65, 350.84°)
OKLaboklab(58.47% 0.1923 -0.0261)
OKLCHoklch(58.47% 0.194 352.3)
XYZxyz(30.5166, 17.4754, 24.6830)
Luminance0.1747 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A87 #3ACB7E
analogous
#C63ACB #CB3A87 #CB3A3E
triadic
#CB3A87 #87CB3A #3A87CB
tetradic
#CB3A87 #CBC63A #3ACB7E #3A3ECB
square
#CB3A87 #CBC63A #3ACB7E #3A3ECB
split-complementary
#CB3A87 #3ECB3A #3ACBC6
monochromatic
#6E1D48 #9E2A68 #CB3A87 #D86AA4 #E59BC2

Accessibility & contrast

On white

4.67
#CB3A87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#CB3A87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CB3A87
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3A87#FFFFFF#000000##FFFFFF
##CB3A871.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536389
Deuteranopia (green-blind)
#7C7E84
Tritanopia (blue-blind)
#DA2F5B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb3a87;
/* rgb */ color: rgb(203, 58, 135);
/* oklch */ color: oklch(58.5% 0.194 352.3);
Tailwind
colors: {
  custom: {
    50: '#df7caa',
    500: '#cb3a87',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a87;
$custom-light: #df7caa;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a87",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 135
  },
  "hsl": {
    "h": 328.138,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.58468,
    "c": 0.19403,
    "h": 352.3
  },
  "luminance": 0.17472
}

Semantic roles & 50–950 ramp

primary
#CB3A87
secondary
#90D0AE
accent
#E18F46
background
#FEF8FA
surface
#FDEFF4
border
#D5CACE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #CB3A87

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

Preview Lab → · Contrast checker → · Palette generator →

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