#CB4A7C#CB4A7C

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

Color values

HEX#CB4A7C
RGBrgb(203, 74, 124)
HSLhsl(337, 55%, 54%)
HSVhsv(337, 64%, 80%)
CMYKcmyk(0%, 63.5%, 38.9%, 20.4%)
CIE-LABlab(50.75, 55.41, -0.70)
CIE-LCHlch(50.75, 55.42, 359.28°)
OKLaboklab(59.75% 0.1694 -0.0011)
OKLCHoklch(59.75% 0.169 359.6)
XYZxyz(30.7174, 19.0528, 21.1248)
Luminance0.1905 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A7C #4ACB99
analogous
#CB4ABD #CB4A7C #CB594A
triadic
#CB4A7C #7CCB4A #4A7CCB
tetradic
#CB4A7C #BDCB4A #4ACB99 #594ACB
square
#CB4A7C #BDCB4A #4ACB99 #594ACB
split-complementary
#CB4A7C #4ACB59 #4ABDCB
monochromatic
#782344 #A8305E #CB4A7C #D97A9E #E6A9C1

Accessibility & contrast

On white

4.37
#CB4A7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#CB4A7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A7C
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A7C#FFFFFF#000000##000000
##CB4A7C1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#62697D
Deuteranopia (green-blind)
#848279
Tritanopia (blue-blind)
#DB3D5E
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb4a7c;
/* rgb */ color: rgb(203, 74, 124);
/* oklch */ color: oklch(59.8% 0.169 359.6);
Tailwind
colors: {
  custom: {
    50: '#df84a1',
    500: '#cb4a7c',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a7c;
$custom-light: #df84a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a7c",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 124
  },
  "hsl": {
    "h": 336.744,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59751,
    "c": 0.16939,
    "h": 359.6
  },
  "luminance": 0.19049
}

Semantic roles & 50–950 ramp

primary
#CB4A7C
secondary
#9DD4BF
accent
#DFA549
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #CB4A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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