#CB4A7A#CB4A7A

#CB4A7A is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.7% C 0.169 H 0.6°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#CB4A7A
RGBrgb(203, 74, 122)
HSLhsl(338, 55%, 54%)
HSVhsv(338, 64%, 80%)
CMYKcmyk(0%, 63.5%, 39.9%, 20.4%)
CIE-LABlab(50.69, 55.20, 0.42)
CIE-LCHlch(50.69, 55.20, 0.43°)
OKLaboklab(59.69% 0.1687 0.0018)
OKLCHoklch(59.69% 0.169 0.6)
XYZxyz(30.5922, 19.0027, 20.4654)
Luminance0.1900 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A7A #4ACB9B
analogous
#CB4ABB #CB4A7A #CB5A4A
triadic
#CB4A7A #7ACB4A #4A7ACB
tetradic
#CB4A7A #BBCB4A #4ACB9B #5A4ACB
square
#CB4A7A #BBCB4A #4ACB9B #5A4ACB
split-complementary
#CB4A7A #4ACB5A #4ABBCB
monochromatic
#782342 #A8305D #CB4A7A #D97A9D #E6A9C0

Accessibility & contrast

On white

4.38
#CB4A7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#CB4A7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A7A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A7A#FFFFFF#000000##000000
##CB4A7A1.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#62697B
Deuteranopia (green-blind)
#858277
Tritanopia (blue-blind)
#DB3C5D
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb4a7a;
/* rgb */ color: rgb(203, 74, 122);
/* oklch */ color: oklch(59.7% 0.169 0.6);
Tailwind
colors: {
  custom: {
    50: '#df84a0',
    500: '#cb4a7a',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a7a;
$custom-light: #df84a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a7a",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 122
  },
  "hsl": {
    "h": 337.674,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59688,
    "c": 0.16872,
    "h": 0.6
  },
  "luminance": 0.18999
}

Semantic roles & 50–950 ramp

primary
#CB4A7A
secondary
#9DD4BF
accent
#DFA749
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #CB4A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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