#CB4E7C#CB4E7C

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

Color values

HEX#CB4E7C
RGBrgb(203, 78, 124)
HSLhsl(338, 55%, 55%)
HSVhsv(338, 62%, 80%)
CMYKcmyk(0%, 61.6%, 38.9%, 20.4%)
CIE-LABlab(51.39, 53.69, 0.23)
CIE-LCHlch(51.39, 53.69, 0.25°)
OKLaboklab(60.22% 0.164 0.0013)
OKLCHoklch(60.22% 0.164 0.4)
XYZxyz(30.9930, 19.6040, 21.2167)
Luminance0.1960 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E7C #4ECB9D
analogous
#CB4EBA #CB4E7C #CB5E4E
triadic
#CB4E7C #7CCB4E #4E7CCB
tetradic
#CB4E7C #BACB4E #4ECB9D #5E4ECB
square
#CB4E7C #BACB4E #4ECB9D #5E4ECB
split-complementary
#CB4E7C #4ECB5E #4EBACB
monochromatic
#7B2444 #AA325E #CB4E7C #D97D9F #E7ADC2

Accessibility & contrast

On white

4.27
#CB4E7C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#CB4E7C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E7C
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E7C#FFFFFF#000000##000000
##CB4E7C1.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#656B7D
Deuteranopia (green-blind)
#868379
Tritanopia (blue-blind)
#DB4260
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #cb4e7c;
/* rgb */ color: rgb(203, 78, 124);
/* oklch */ color: oklch(60.2% 0.164 0.4);
Tailwind
colors: {
  custom: {
    50: '#df86a1',
    500: '#cb4e7c',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e7c;
$custom-light: #df86a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e7c",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 124
  },
  "hsl": {
    "h": 337.92,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60225,
    "c": 0.16396,
    "h": 0.4
  },
  "luminance": 0.19601
}

Semantic roles & 50–950 ramp

primary
#CB4E7C
secondary
#A0D5C1
accent
#DEA74A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0F
muted
#847D7E

Preview Lab

Preview with #CB4E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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