#CB48AD#CB48AD

#CB48AD is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.4% C 0.199 H 338.0°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#CB48AD
RGBrgb(203, 72, 173)
HSLhsl(314, 56%, 54%)
HSVhsv(314, 65%, 80%)
CMYKcmyk(0%, 64.5%, 14.8%, 20.4%)
CIE-LABlab(52.23, 62.53, -27.53)
CIE-LCHlch(52.23, 68.32, 336.24°)
OKLaboklab(61.43% 0.1843 -0.0745)
OKLCHoklch(61.43% 0.199 338)
XYZxyz(34.4894, 20.3514, 41.6388)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB48AD #48CB66
analogous
#A748CB #CB48AD #CB486C
triadic
#CB48AD #ADCB48 #48ADCB
tetradic
#CB48AD #CBA748 #48CB66 #486CCB
square
#CB48AD #CBA748 #48CB66 #486CCB
split-complementary
#CB48AD #6CCB48 #48CBA7
monochromatic
#772263 #A62F8B #CB48AD #D978C2 #E6A7D8

Accessibility & contrast

On white

4.14
#CB48AD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#CB48AD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB48AD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB48AD#FFFFFF#000000##000000
##CB48AD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4D70B0
Deuteranopia (green-blind)
#7684AA
Tritanopia (blue-blind)
#D64D74
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #cb48ad;
/* rgb */ color: rgb(203, 72, 173);
/* oklch */ color: oklch(61.4% 0.199 338.0);
Tailwind
colors: {
  custom: {
    50: '#de84c5',
    500: '#cb48ad',
    950: '#000000',
  },
}
SCSS
$custom: #cb48ad;
$custom-light: #de84c5;
$custom-dark: #000000;
JSON
{
  "hex": "#cb48ad",
  "rgb": {
    "r": 203,
    "g": 72,
    "b": 173
  },
  "hsl": {
    "h": 313.74,
    "s": 55.745,
    "l": 53.922
  },
  "oklch": {
    "l": 0.61427,
    "c": 0.19879,
    "h": 338
  },
  "luminance": 0.20348
}

Semantic roles & 50–950 ramp

primary
#CB48AD
secondary
#9BD3A8
accent
#DF6B49
background
#FEF8FC
surface
#FCF0F8
border
#D5CBD1
text
#160B13
muted
#847C82

Preview Lab

Preview with #CB48AD

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

Preview Lab → · Contrast checker → · Palette generator →

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