#CB48A5#CB48A5

#CB48A5 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 61.1% C 0.193 H 341.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#CB48A5
RGBrgb(203, 72, 165)
HSLhsl(317, 56%, 54%)
HSVhsv(317, 65%, 80%)
CMYKcmyk(0%, 64.5%, 18.7%, 20.4%)
CIE-LABlab(51.89, 61.37, -23.36)
CIE-LCHlch(51.89, 65.67, 339.16°)
OKLaboklab(61.07% 0.1829 -0.0627)
OKLCHoklch(61.07% 0.193 341.1)
XYZxyz(33.7384, 20.0510, 37.6834)
Luminance0.2005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48A5 #48CB6E
analogous
#B048CB #CB48A5 #CB4864
triadic
#CB48A5 #A5CB48 #48A5CB
tetradic
#CB48A5 #CBB048 #48CB6E #4864CB
square
#CB48A5 #CBB048 #48CB6E #4864CB
split-complementary
#CB48A5 #64CB48 #48CBB0
monochromatic
#77225E #A62F84 #CB48A5 #D978BC #E6A7D4

Accessibility & contrast

On white

4.19
#CB48A5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#CB48A5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48A5
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48A5#FFFFFF#000000##000000
##CB48A51.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA8
Deuteranopia (green-blind)
#7883A2
Tritanopia (blue-blind)
#D74A70
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb48a5;
/* rgb */ color: rgb(203, 72, 165);
/* oklch */ color: oklch(61.1% 0.193 341.1);
Tailwind
colors: {
  custom: {
    50: '#de84c0',
    500: '#cb48a5',
    950: '#000000',
  },
}
SCSS
$custom: #cb48a5;
$custom-light: #de84c0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48a5",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 165
  },
  "hsl": {
    "h": 317.405,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.6107,
    "c": 0.19335,
    "h": 341.1
  },
  "luminance": 0.20048
}

Semantic roles & 50–950 ramp

primary
#CB48A5
secondary
#9BD3AC
accent
#DF7449
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160B12
muted
#847C81

Preview Lab

Preview with #CB48A5

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

Preview Lab → · Contrast checker → · Palette generator →

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