#CB4F8F#CB4F8F

#CB4F8F is a mid, vivid pink. Relative luminance 0.203; OKLCH L 61.0% C 0.171 H 351.3°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#CB4F8F
RGBrgb(203, 79, 143)
HSLhsl(329, 54%, 55%)
HSVhsv(329, 61%, 80%)
CMYKcmyk(0%, 61.1%, 29.6%, 20.4%)
CIE-LABlab(52.15, 55.49, -9.97)
CIE-LCHlch(52.15, 56.38, 349.81°)
OKLaboklab(60.99% 0.1686 -0.0258)
OKLCHoklch(60.99% 0.171 351.3)
XYZxyz(32.3840, 20.2749, 28.1893)
Luminance0.2027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F8F #4FCB8B
analogous
#C94FCB #CB4F8F #CB4F51
triadic
#CB4F8F #8FCB4F #4F8FCB
tetradic
#CB4F8F #CBC94F #4FCB8B #4F51CB
square
#CB4F8F #CBC94F #4FCB8B #4F51CB
split-complementary
#CB4F8F #51CB4F #4FCBC9
monochromatic
#7B2451 #AA3270 #CB4F8F #D97EAD #E7ADCB

Accessibility & contrast

On white

4.15
#CB4F8F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#CB4F8F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F8F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F8F#FFFFFF#000000##000000
##CB4F8F1.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#606E91
Deuteranopia (green-blind)
#82858C
Tritanopia (blue-blind)
#D94969
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #cb4f8f;
/* rgb */ color: rgb(203, 79, 143);
/* oklch */ color: oklch(61.0% 0.171 351.3);
Tailwind
colors: {
  custom: {
    50: '#de87af',
    500: '#cb4f8f',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f8f;
$custom-light: #de87af;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f8f",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 143
  },
  "hsl": {
    "h": 329.032,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60985,
    "c": 0.17056,
    "h": 351.3
  },
  "luminance": 0.20272
}

Semantic roles & 50–950 ramp

primary
#CB4F8F
secondary
#A1D5BA
accent
#DE924A
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160C10
muted
#847D7F

Preview Lab

Preview with #CB4F8F

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

Preview Lab → · Contrast checker → · Palette generator →

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