#CB4F7B#CB4F7B

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

Color values

HEX#CB4F7B
RGBrgb(203, 79, 123)
HSLhsl(339, 54%, 55%)
HSVhsv(339, 61%, 80%)
CMYKcmyk(0%, 61.1%, 39.4%, 20.4%)
CIE-LABlab(51.52, 53.14, 1.03)
CIE-LCHlch(51.52, 53.15, 1.11°)
OKLaboklab(60.32% 0.1622 0.0033)
OKLCHoklch(60.32% 0.162 1.2)
XYZxyz(31.0017, 19.7220, 20.9092)
Luminance0.1972 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F7B #4FCB9F
analogous
#CB4FB9 #CB4F7B #CB614F
triadic
#CB4F7B #7BCB4F #4F7BCB
tetradic
#CB4F7B #B9CB4F #4FCB9F #614FCB
square
#CB4F7B #B9CB4F #4FCB9F #614FCB
split-complementary
#CB4F7B #4FCB61 #4FB9CB
monochromatic
#7B2443 #AA325D #CB4F7B #D97E9E #E7ADC2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CB4F7B#FFFFFF#000000##000000
##CB4F7B1.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)
#666C7C
Deuteranopia (green-blind)
#878478
Tritanopia (blue-blind)
#DB4260
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4f7b;
/* rgb */ color: rgb(203, 79, 123);
/* oklch */ color: oklch(60.3% 0.162 1.2);
Tailwind
colors: {
  custom: {
    50: '#df86a1',
    500: '#cb4f7b',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f7b;
$custom-light: #df86a1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f7b",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 123
  },
  "hsl": {
    "h": 338.71,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60316,
    "c": 0.16226,
    "h": 1.2
  },
  "luminance": 0.19719
}

Semantic roles & 50–950 ramp

primary
#CB4F7B
secondary
#A1D5C2
accent
#DEA94A
background
#FEF8F9
surface
#FCF0F2
border
#D5CBCC
text
#160C0E
muted
#847D7E

Preview Lab

Preview with #CB4F7B

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

Preview Lab → · Contrast checker → · Palette generator →

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