#CB46B2#CB46B2

#CB46B2 is a mid, highly saturated pink. Relative luminance 0.203; OKLCH L 61.5% C 0.205 H 336.1°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CB46B2
RGBrgb(203, 70, 178)
HSLhsl(311, 56%, 54%)
HSVhsv(311, 66%, 80%)
CMYKcmyk(0%, 65.5%, 12.3%, 20.4%)
CIE-LABlab(52.17, 64.06, -30.55)
CIE-LCHlch(52.17, 70.97, 334.51°)
OKLaboklab(61.45% 0.1874 -0.0831)
OKLCHoklch(61.45% 0.205 336.1)
XYZxyz(34.8551, 20.2941, 44.1923)
Luminance0.2029 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB46B2 #46CB5F
analogous
#A146CB #CB46B2 #CB466F
triadic
#CB46B2 #B2CB46 #46B2CB
tetradic
#CB46B2 #CBA146 #46CB5F #466FCB
square
#CB46B2 #CBA146 #46CB5F #466FCB
split-complementary
#CB46B2 #6FCB46 #46CBA1
monochromatic
#762166 #A52E8F #CB46B2 #D876C6 #E6A6DA

Accessibility & contrast

On white

4.15
#CB46B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#CB46B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB46B2
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB46B2#FFFFFF#000000##000000
##CB46B21.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4870B5
Deuteranopia (green-blind)
#7384AF
Tritanopia (blue-blind)
#D54E76
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb46b2;
/* rgb */ color: rgb(203, 70, 178);
/* oklch */ color: oklch(61.5% 0.205 336.1);
Tailwind
colors: {
  custom: {
    50: '#de83c9',
    500: '#cb46b2',
    950: '#000000',
  },
}
SCSS
$custom: #cb46b2;
$custom-light: #de83c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb46b2",
  "rgb": {
    "r": 203,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 311.278,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.61453,
    "c": 0.20497,
    "h": 336.1
  },
  "luminance": 0.20291
}

Semantic roles & 50–950 ramp

primary
#CB46B2
secondary
#9AD3A5
accent
#DF6548
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB46B2

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

Preview Lab → · Contrast checker → · Palette generator →

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