#CB46A7#CB46A7

#CB46A7 is a mid, vivid pink. Relative luminance 0.199; OKLCH L 60.9% C 0.197 H 340.2°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#CB46A7
RGBrgb(203, 70, 167)
HSLhsl(316, 56%, 54%)
HSVhsv(316, 66%, 80%)
CMYKcmyk(0%, 65.5%, 17.7%, 20.4%)
CIE-LABlab(51.69, 62.45, -24.85)
CIE-LCHlch(51.69, 67.22, 338.30°)
OKLaboklab(60.95% 0.1857 -0.0669)
OKLCHoklch(60.95% 0.197 340.2)
XYZxyz(33.7946, 19.8699, 38.6072)
Luminance0.1987 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB46A7 #46CB6A
analogous
#AD46CB #CB46A7 #CB4664
triadic
#CB46A7 #A7CB46 #46A7CB
tetradic
#CB46A7 #CBAD46 #46CB6A #4664CB
square
#CB46A7 #CBAD46 #46CB6A #4664CB
split-complementary
#CB46A7 #64CB46 #46CBAD
monochromatic
#76215F #A52E85 #CB46A7 #D876BE #E6A6D4

Accessibility & contrast

On white

4.22
#CB46A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#CB46A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB46A7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB46A7#FFFFFF#000000##000000
##CB46A71.004.224.974.97
#FFFFFF4.221.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAA
Deuteranopia (green-blind)
#7783A4
Tritanopia (blue-blind)
#D74970
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb46a7;
/* rgb */ color: rgb(203, 70, 167);
/* oklch */ color: oklch(60.9% 0.197 340.2);
Tailwind
colors: {
  custom: {
    50: '#de83c1',
    500: '#cb46a7',
    950: '#000000',
  },
}
SCSS
$custom: #cb46a7;
$custom-light: #de83c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb46a7",
  "rgb": {
    "r": 203,
    "g": 70,
    "b": 167
  },
  "hsl": {
    "h": 316.241,
    "s": 56.118,
    "l": 53.529
  },
  "oklch": {
    "l": 0.60947,
    "c": 0.19736,
    "h": 340.2
  },
  "luminance": 0.19867
}

Semantic roles & 50–950 ramp

primary
#CB46A7
secondary
#9AD3A9
accent
#DF7148
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB46A7

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

Preview Lab → · Contrast checker → · Palette generator →

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