#CB4F7E#CB4F7E

#CB4F7E is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.4% C 0.163 H 359.6°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CB4F7E
RGBrgb(203, 79, 126)
HSLhsl(337, 54%, 55%)
HSVhsv(337, 61%, 80%)
CMYKcmyk(0%, 61.1%, 37.9%, 20.4%)
CIE-LABlab(51.61, 53.47, -0.64)
CIE-LCHlch(51.61, 53.47, 359.32°)
OKLaboklab(60.41% 0.1633 -0.001)
OKLCHoklch(60.41% 0.163 359.6)
XYZxyz(31.1924, 19.7983, 21.9134)
Luminance0.1979 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB4F7E #4FCB9C
analogous
#CB4FBC #CB4F7E #CB5E4F
triadic
#CB4F7E #7ECB4F #4F7ECB
tetradic
#CB4F7E #BCCB4F #4FCB9C #5E4FCB
square
#CB4F7E #BCCB4F #4FCB9C #5E4FCB
split-complementary
#CB4F7E #4FCB5E #4FBCCB
monochromatic
#7B2445 #AA3260 #CB4F7E #D97EA1 #E7ADC3

Accessibility & contrast

On white

4.23
#CB4F7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#CB4F7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CB4F7E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB4F7E#FFFFFF#000000##000000
##CB4F7E1.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#656C7F
Deuteranopia (green-blind)
#86847B
Tritanopia (blue-blind)
#DB4361
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #cb4f7e;
/* rgb */ color: rgb(203, 79, 126);
/* oklch */ color: oklch(60.4% 0.163 359.6);
Tailwind
colors: {
  custom: {
    50: '#df86a3',
    500: '#cb4f7e',
    950: '#000000',
  },
}
SCSS
$custom: #cb4f7e;
$custom-light: #df86a3;
$custom-dark: #000000;
JSON
{
  "hex": "#cb4f7e",
  "rgb": {
    "r": 203,
    "g": 79,
    "b": 126
  },
  "hsl": {
    "h": 337.258,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.60409,
    "c": 0.16326,
    "h": 359.6
  },
  "luminance": 0.19795
}

Semantic roles & 50–950 ramp

primary
#CB4F7E
secondary
#A1D5C1
accent
#DEA64A
background
#FEF8FA
surface
#FCF0F3
border
#D5CBCD
text
#160C0F
muted
#847D7F

Preview Lab

Preview with #CB4F7E

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

Preview Lab → · Contrast checker → · Palette generator →

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