#CB48A7#CB48A7

#CB48A7 is a mid, vivid pink. Relative luminance 0.201; OKLCH L 61.2% C 0.195 H 340.3°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#CB48A7
RGBrgb(203, 72, 167)
HSLhsl(316, 56%, 54%)
HSVhsv(316, 65%, 80%)
CMYKcmyk(0%, 64.5%, 17.7%, 20.4%)
CIE-LABlab(51.98, 61.66, -24.41)
CIE-LCHlch(51.98, 66.31, 338.40°)
OKLaboklab(61.16% 0.1833 -0.0657)
OKLCHoklch(61.16% 0.195 340.3)
XYZxyz(33.9218, 20.1243, 38.6496)
Luminance0.2012 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48A7 #48CB6C
analogous
#AE48CB #CB48A7 #CB4866
triadic
#CB48A7 #A7CB48 #48A7CB
tetradic
#CB48A7 #CBAE48 #48CB6C #4866CB
square
#CB48A7 #CBAE48 #48CB6C #4866CB
split-complementary
#CB48A7 #66CB48 #48CBAE
monochromatic
#77225F #A62F86 #CB48A7 #D978BE #E6A7D5

Accessibility & contrast

On white

4.18
#CB48A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#CB48A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48A7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48A7#FFFFFF#000000##000000
##CB48A71.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#506FAA
Deuteranopia (green-blind)
#7884A4
Tritanopia (blue-blind)
#D64B71
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb48a7;
/* rgb */ color: rgb(203, 72, 167);
/* oklch */ color: oklch(61.2% 0.195 340.3);
Tailwind
colors: {
  custom: {
    50: '#de84c1',
    500: '#cb48a7',
    950: '#000000',
  },
}
SCSS
$custom: #cb48a7;
$custom-light: #de84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48a7",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 167
  },
  "hsl": {
    "h": 316.489,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61158,
    "c": 0.19468,
    "h": 340.3
  },
  "luminance": 0.20121
}

Semantic roles & 50–950 ramp

primary
#CB48A7
secondary
#9BD3AB
accent
#DF7249
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB48A7

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

Preview Lab → · Contrast checker → · Palette generator →

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