#CB4E8F#CB4E8F

#CB4E8F is a mid, vivid pink. Relative luminance 0.201; OKLCH L 60.9% C 0.172 H 351.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#CB4E8F
RGBrgb(203, 78, 143)
HSLhsl(329, 55%, 55%)
HSVhsv(329, 62%, 80%)
CMYKcmyk(0%, 61.6%, 29.6%, 20.4%)
CIE-LABlab(51.99, 55.92, -10.22)
CIE-LCHlch(51.99, 56.85, 349.65°)
OKLaboklab(60.87% 0.1699 -0.0265)
OKLCHoklch(60.87% 0.172 351.1)
XYZxyz(32.3124, 20.1318, 28.1654)
Luminance0.2013 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4E8F #4ECB8A
analogous
#C84ECB #CB4E8F #CB4E51
triadic
#CB4E8F #8FCB4E #4E8FCB
tetradic
#CB4E8F #CBC84E #4ECB8A #4E51CB
square
#CB4E8F #CBC84E #4ECB8A #4E51CB
split-complementary
#CB4E8F #51CB4E #4ECBC8
monochromatic
#7B2451 #AA3270 #CB4E8F #D97DAD #E7ADCB

Accessibility & contrast

On white

4.18
#CB4E8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#CB4E8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4E8F
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4E8F#FFFFFF#000000##000000
##CB4E8F1.004.185.035.03
#FFFFFF4.181.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5F6E91
Deuteranopia (green-blind)
#82848C
Tritanopia (blue-blind)
#D94868
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4e8f;
/* rgb */ color: rgb(203, 78, 143);
/* oklch */ color: oklch(60.9% 0.172 351.1);
Tailwind
colors: {
  custom: {
    50: '#de86af',
    500: '#cb4e8f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4e8f;
$custom-light: #de86af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4e8f",
  "rgb": {
    "r": 203,
    "g": 78,
    "b": 143
  },
  "hsl": {
    "h": 328.8,
    "s": 54.585,
    "l": 55.098
  },
  "oklch": {
    "l": 0.60866,
    "c": 0.17199,
    "h": 351.1
  },
  "luminance": 0.20128
}

Semantic roles & 50–950 ramp

primary
#CB4E8F
secondary
#A0D5B9
accent
#DE914A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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