#CB4C7A#CB4C7A

#CB4C7A is a mid, vivid pink. Relative luminance 0.193; OKLCH L 59.9% C 0.166 H 1.0°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#CB4C7A
RGBrgb(203, 76, 122)
HSLhsl(338, 55%, 55%)
HSVhsv(338, 63%, 80%)
CMYKcmyk(0%, 62.6%, 39.9%, 20.4%)
CIE-LABlab(51.01, 54.34, 0.88)
CIE-LCHlch(51.01, 54.35, 0.93°)
OKLaboklab(59.92% 0.166 0.0029)
OKLCHoklch(59.92% 0.166 1)
XYZxyz(30.7279, 19.2741, 20.5107)
Luminance0.1927 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4C7A #4CCB9D
analogous
#CB4CB9 #CB4C7A #CB5E4C
triadic
#CB4C7A #7ACB4C #4C7ACB
tetradic
#CB4C7A #B9CB4C #4CCB9D #5E4CCB
square
#CB4C7A #B9CB4C #4CCB9D #5E4CCB
split-complementary
#CB4C7A #4CCB5E #4CB9CB
monochromatic
#792342 #A9315C #CB4C7A #D97B9D #E7ABC0

Accessibility & contrast

On white

4.33
#CB4C7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#CB4C7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4C7A
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4C7A#FFFFFF#000000##000000
##CB4C7A1.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#646A7B
Deuteranopia (green-blind)
#868377
Tritanopia (blue-blind)
#DB3F5E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb4c7a;
/* rgb */ color: rgb(203, 76, 122);
/* oklch */ color: oklch(59.9% 0.166 1.0);
Tailwind
colors: {
  custom: {
    50: '#df85a0',
    500: '#cb4c7a',
    950: '#000000',
  },
}
SCSS
$custom: #cb4c7a;
$custom-light: #df85a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4c7a",
  "rgb": {
    "r": 203,
    "g": 76,
    "b": 122
  },
  "hsl": {
    "h": 338.268,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.59923,
    "c": 0.16604,
    "h": 1
  },
  "luminance": 0.19271
}

Semantic roles & 50–950 ramp

primary
#CB4C7A
secondary
#9FD4C1
accent
#DEA849
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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