#CB3A8A#CB3A8A

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

Color values

HEX#CB3A8A
RGBrgb(203, 58, 138)
HSLhsl(327, 58%, 51%)
HSVhsv(327, 71%, 80%)
CMYKcmyk(0%, 71.4%, 32%, 20.4%)
CIE-LABlab(48.96, 63.18, -11.78)
CIE-LCHlch(48.96, 64.27, 349.44°)
OKLaboklab(58.58% 0.1931 -0.0306)
OKLCHoklch(58.58% 0.195 351)
XYZxyz(30.7308, 17.5611, 25.8111)
Luminance0.1756 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A8A #3ACB7B
analogous
#C43ACB #CB3A8A #CB3A41
triadic
#CB3A8A #8ACB3A #3A8ACB
tetradic
#CB3A8A #CBC43A #3ACB7B #3A41CB
square
#CB3A8A #CBC43A #3ACB7B #3A41CB
split-complementary
#CB3A8A #41CB3A #3ACBC4
monochromatic
#6E1D49 #9E2A6A #CB3A8A #D86AA7 #E59BC4

Accessibility & contrast

On white

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

On black

4.51
#CB3A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##CB3A8A#FFFFFF#000000##FFFFFF
##CB3A8A1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648C
Deuteranopia (green-blind)
#7B7E87
Tritanopia (blue-blind)
#DA305D
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #cb3a8a;
/* rgb */ color: rgb(203, 58, 138);
/* oklch */ color: oklch(58.6% 0.195 351.0);
Tailwind
colors: {
  custom: {
    50: '#df7cac',
    500: '#cb3a8a',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a8a;
$custom-light: #df7cac;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a8a",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 138
  },
  "hsl": {
    "h": 326.897,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5858,
    "c": 0.19548,
    "h": 351
  },
  "luminance": 0.17558
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB3A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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