#CB49A7#CB49A7

#CB49A7 is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.3% C 0.193 H 340.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CB49A7
RGBrgb(203, 73, 167)
HSLhsl(317, 56%, 54%)
HSVhsv(317, 64%, 80%)
CMYKcmyk(0%, 64%, 17.7%, 20.4%)
CIE-LABlab(52.12, 61.25, -24.18)
CIE-LCHlch(52.12, 65.85, 338.46°)
OKLaboklab(61.27% 0.1821 -0.065)
OKLCHoklch(61.27% 0.193 340.3)
XYZxyz(33.9870, 20.2547, 38.6713)
Luminance0.2025 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB49A7 #49CB6D
analogous
#AE49CB #CB49A7 #CB4966
triadic
#CB49A7 #A7CB49 #49A7CB
tetradic
#CB49A7 #CBAE49 #49CB6D #4966CB
square
#CB49A7 #CBAE49 #49CB6D #4966CB
split-complementary
#CB49A7 #66CB49 #49CBAE
monochromatic
#772260 #A73086 #CB49A7 #D979BE #E6A8D5

Accessibility & contrast

On white

4.16
#CB49A7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CB49A7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB49A7
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB49A7#FFFFFF#000000##000000
##CB49A71.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb49a7;
/* rgb */ color: rgb(203, 73, 167);
/* oklch */ color: oklch(61.3% 0.193 340.3);
Tailwind
colors: {
  custom: {
    50: '#de84c1',
    500: '#cb49a7',
    950: '#000000',
  },
}
SCSS
$custom: #cb49a7;
$custom-light: #de84c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb49a7",
  "rgb": {
    "r": 203,
    "g": 73,
    "b": 167
  },
  "hsl": {
    "h": 316.615,
    "s": 55.556,
    "l": 54.118
  },
  "oklch": {
    "l": 0.61265,
    "c": 0.19332,
    "h": 340.3
  },
  "luminance": 0.20252
}

Semantic roles & 50–950 ramp

primary
#CB49A7
secondary
#9CD4AC
accent
#DF7249
background
#FEF8FB
surface
#FCF0F7
border
#D5CBD0
text
#160C12
muted
#847D81

Preview Lab

Preview with #CB49A7

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

Preview Lab → · Contrast checker → · Palette generator →

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