#CB4D7A#CB4D7A

#CB4D7A is a mid, vivid pink. Relative luminance 0.194; OKLCH L 60.0% C 0.165 H 1.2°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#CB4D7A
RGBrgb(203, 77, 122)
HSLhsl(339, 55%, 55%)
HSVhsv(339, 62%, 80%)
CMYKcmyk(0%, 62.1%, 39.9%, 20.4%)
CIE-LABlab(51.17, 53.91, 1.11)
CIE-LCHlch(51.17, 53.92, 1.18°)
OKLaboklab(60.04% 0.1647 0.0035)
OKLCHoklch(60.04% 0.165 1.2)
XYZxyz(30.7973, 19.4129, 20.5338)
Luminance0.1941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4D7A #4DCB9E
analogous
#CB4DB9 #CB4D7A #CB5F4D
triadic
#CB4D7A #7ACB4D #4D7ACB
tetradic
#CB4D7A #B9CB4D #4DCB9E #5F4DCB
square
#CB4D7A #B9CB4D #4DCB9E #5F4DCB
split-complementary
#CB4D7A #4DCB5F #4DB9CB
monochromatic
#7A2442 #A9315C #CB4D7A #D97C9D #E7ACC1

Accessibility & contrast

On white

4.30
#CB4D7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#CB4D7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4D7A
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4D7A#FFFFFF#000000##000000
##CB4D7A1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7B
Deuteranopia (green-blind)
#868377
Tritanopia (blue-blind)
#DB405F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4d7a;
/* rgb */ color: rgb(203, 77, 122);
/* oklch */ color: oklch(60.0% 0.165 1.2);
Tailwind
colors: {
  custom: {
    50: '#df85a0',
    500: '#cb4d7a',
    950: '#000000',
  },
}
SCSS
$custom: #cb4d7a;
$custom-light: #df85a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4d7a",
  "rgb": {
    "r": 203,
    "g": 77,
    "b": 122
  },
  "hsl": {
    "h": 338.571,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.60042,
    "c": 0.16469,
    "h": 1.2
  },
  "luminance": 0.19409
}

Semantic roles & 50–950 ramp

primary
#CB4D7A
secondary
#9FD4C1
accent
#DEA94A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB4D7A

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

Preview Lab → · Contrast checker → · Palette generator →

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