#CB4A7F#CB4A7F

#CB4A7F is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.8% C 0.170 H 358.1°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#CB4A7F
RGBrgb(203, 74, 127)
HSLhsl(335, 55%, 54%)
HSVhsv(335, 64%, 80%)
CMYKcmyk(0%, 63.5%, 37.4%, 20.4%)
CIE-LABlab(50.84, 55.74, -2.37)
CIE-LCHlch(50.84, 55.79, 357.57°)
OKLaboklab(59.85% 0.1704 -0.0055)
OKLCHoklch(59.85% 0.17 358.1)
XYZxyz(30.9100, 19.1299, 22.1392)
Luminance0.1913 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4A7F #4ACB96
analogous
#CB4AC0 #CB4A7F #CB564A
triadic
#CB4A7F #7FCB4A #4A7FCB
tetradic
#CB4A7F #C0CB4A #4ACB96 #564ACB
square
#CB4A7F #C0CB4A #4ACB96 #564ACB
split-complementary
#CB4A7F #4ACB56 #4AC0CB
monochromatic
#782346 #A83061 #CB4A7F #D97AA1 #E6A9C2

Accessibility & contrast

On white

4.35
#CB4A7F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#CB4A7F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4A7F
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4A7F#FFFFFF#000000##000000
##CB4A7F1.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#616A80
Deuteranopia (green-blind)
#84827C
Tritanopia (blue-blind)
#DB3E5F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #cb4a7f;
/* rgb */ color: rgb(203, 74, 127);
/* oklch */ color: oklch(59.8% 0.170 358.1);
Tailwind
colors: {
  custom: {
    50: '#df84a4',
    500: '#cb4a7f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4a7f;
$custom-light: #df84a4;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4a7f",
  "rgb": {
    "r": 203,
    "g": 74,
    "b": 127
  },
  "hsl": {
    "h": 335.349,
    "s": 55.365,
    "l": 54.314
  },
  "oklch": {
    "l": 0.59847,
    "c": 0.17047,
    "h": 358.1
  },
  "luminance": 0.19126
}

Semantic roles & 50–950 ramp

primary
#CB4A7F
secondary
#9DD4BD
accent
#DFA149
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #CB4A7F

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

Preview Lab → · Contrast checker → · Palette generator →

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