#CB4E7A#CB4E7A

#CB4E7A is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.2% C 0.163 H 1.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CB4E7A
RGBrgb(203, 78, 122)
HSLhsl(339, 55%, 55%)
HSVhsv(339, 62%, 80%)
CMYKcmyk(0%, 61.6%, 39.9%, 20.4%)
CIE-LABlab(51.33, 53.47, 1.35)
CIE-LCHlch(51.33, 53.49, 1.44°)
OKLaboklab(60.16% 0.1633 0.0041)
OKLCHoklch(60.16% 0.163 1.5)
XYZxyz(30.8678, 19.5539, 20.5573)
Luminance0.1955 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E7A #4ECB9F
analogous
#CB4EB8 #CB4E7A #CB604E
triadic
#CB4E7A #7ACB4E #4E7ACB
tetradic
#CB4E7A #B8CB4E #4ECB9F #604ECB
square
#CB4E7A #B8CB4E #4ECB9F #604ECB
split-complementary
#CB4E7A #4ECB60 #4EB8CB
monochromatic
#7B2442 #AA325C #CB4E7A #D97D9E #E7ADC1

Accessibility & contrast

On white

4.28
#CB4E7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#CB4E7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E7A
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E7A#FFFFFF#000000##000000
##CB4E7A1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cb4e7a;
/* rgb */ color: rgb(203, 78, 122);
/* oklch */ color: oklch(60.2% 0.163 1.5);
Tailwind
colors: {
  custom: {
    50: '#df86a0',
    500: '#cb4e7a',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e7a;
$custom-light: #df86a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e7a",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 122
  },
  "hsl": {
    "h": 338.88,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60163,
    "c": 0.16332,
    "h": 1.5
  },
  "luminance": 0.1955
}

Semantic roles & 50–950 ramp

primary
#CB4E7A
secondary
#A0D5C2
accent
#DEAA4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB4E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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