#CB3A9F#CB3A9F

#CB3A9F is a mid, highly saturated pink. Relative luminance 0.182; OKLCH L 59.4% C 0.207 H 342.6°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#CB3A9F
RGBrgb(203, 58, 159)
HSLhsl(318, 58%, 51%)
HSVhsv(318, 71%, 80%)
CMYKcmyk(0%, 71.4%, 21.7%, 20.4%)
CIE-LABlab(49.77, 65.78, -23.09)
CIE-LCHlch(49.77, 69.71, 340.66°)
OKLaboklab(59.44% 0.1977 -0.0618)
OKLCHoklch(59.44% 0.207 342.6)
XYZxyz(32.4008, 18.2291, 34.6064)
Luminance0.1823 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB3A9F #3ACB66
analogous
#AE3ACB #CB3A9F #CB3A56
triadic
#CB3A9F #9FCB3A #3A9FCB
tetradic
#CB3A9F #CBAE3A #3ACB66 #3A56CB
square
#CB3A9F #CBAE3A #3ACB66 #3A56CB
split-complementary
#CB3A9F #56CB3A #3ACBAE
monochromatic
#6E1D55 #9E2A7B #CB3A9F #D86AB7 #E59BCE

Accessibility & contrast

On white

4.52
#CB3A9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.65
#CB3A9F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB3A9F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB3A9F#FFFFFF#000000##000000
##CB3A9F1.004.524.654.65
#FFFFFF4.521.0021.0021.00
#0000004.6521.001.001.00
##0000004.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4867A2
Deuteranopia (green-blind)
#757F9C
Tritanopia (blue-blind)
#D83B68
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #cb3a9f;
/* rgb */ color: rgb(203, 58, 159);
/* oklch */ color: oklch(59.4% 0.207 342.6);
Tailwind
colors: {
  custom: {
    50: '#df7dbb',
    500: '#cb3a9f',
    950: '#000000',
  },
}
SCSS
$custom: #cb3a9f;
$custom-light: #df7dbb;
$custom-dark: #000000;
JSON
{
  "hex": "#cb3a9f",
  "rgb": {
    "r": 203,
    "g": 58,
    "b": 159
  },
  "hsl": {
    "h": 318.207,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.5944,
    "c": 0.20712,
    "h": 342.6
  },
  "luminance": 0.18226
}

Semantic roles & 50–950 ramp

primary
#CB3A9F
secondary
#90D0A4
accent
#E17546
background
#FEF8FB
surface
#FCEFF6
border
#D5CAD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB3A9F

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

Preview Lab → · Contrast checker → · Palette generator →

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