#CB4F7A#CB4F7A

#CB4F7A is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.3% C 0.162 H 1.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#CB4F7A
RGBrgb(203, 79, 122)
HSLhsl(339, 54%, 55%)
HSVhsv(339, 61%, 80%)
CMYKcmyk(0%, 61.1%, 39.9%, 20.4%)
CIE-LABlab(51.49, 53.03, 1.59)
CIE-LCHlch(51.49, 53.05, 1.71°)
OKLaboklab(60.29% 0.1619 0.0048)
OKLCHoklch(60.29% 0.162 1.7)
XYZxyz(30.9394, 19.6971, 20.5812)
Luminance0.1969 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F7A #4FCBA0
analogous
#CB4FB8 #CB4F7A #CB624F
triadic
#CB4F7A #7ACB4F #4F7ACB
tetradic
#CB4F7A #B8CB4F #4FCBA0 #624FCB
square
#CB4F7A #B8CB4F #4FCBA0 #624FCB
split-complementary
#CB4F7A #4FCB62 #4FB8CB
monochromatic
#7B2442 #AA325C #CB4F7A #D97E9E #E7ADC1

Accessibility & contrast

On white

4.25
#CB4F7A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#CB4F7A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F7A
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F7A#FFFFFF#000000##000000
##CB4F7A1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#666C7B
Deuteranopia (green-blind)
#878477
Tritanopia (blue-blind)
#DB4260
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4f7a;
/* rgb */ color: rgb(203, 79, 122);
/* oklch */ color: oklch(60.3% 0.162 1.7);
Tailwind
colors: {
  custom: {
    50: '#df86a0',
    500: '#cb4f7a',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f7a;
$custom-light: #df86a0;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f7a",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 122
  },
  "hsl": {
    "h": 339.194,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60285,
    "c": 0.16195,
    "h": 1.7
  },
  "luminance": 0.19694
}

Semantic roles & 50–950 ramp

primary
#CB4F7A
secondary
#A1D5C3
accent
#DEAB4A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB4F7A

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

Preview Lab → · Contrast checker → · Palette generator →

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