#CB7FB3#CB7FB3

#CB7FB3 is a light, moderate pink. Relative luminance 0.311; OKLCH L 69.2% C 0.115 H 339.5°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CB7FB3
RGBrgb(203, 127, 179)
HSLhsl(319, 42%, 65%)
HSVhsv(319, 37%, 80%)
CMYKcmyk(0%, 37.4%, 11.8%, 20.4%)
CIE-LABlab(62.62, 36.92, -15.09)
CIE-LCHlch(62.62, 39.89, 337.78°)
OKLaboklab(69.24% 0.1076 -0.0402)
OKLCHoklch(69.24% 0.115 339.5)
XYZxyz(40.3547, 31.1321, 46.5226)
Luminance0.3113 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FB3 #7FCB97
analogous
#BD7FCB #CB7FB3 #CB7F8D
triadic
#CB7FB3 #B3CB7F #7FB3CB
tetradic
#CB7FB3 #CBBD7F #7FCB97 #7F8DCB
square
#CB7FB3 #CBBD7F #7FCB97 #7F8DCB
split-complementary
#CB7FB3 #8DCB7F #7FCBBD
monochromatic
#943C78 #B95399 #CB7FB3 #DDABCD #EED6E7

Accessibility & contrast

On white

2.91
#CB7FB3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.23
#CB7FB3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FB3
7.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FB3#FFFFFF#000000##000000
##CB7FB31.002.917.237.23
#FFFFFF2.911.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8290B5
Deuteranopia (green-blind)
#959CB1
Tritanopia (blue-blind)
#D38092
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb7fb3;
/* rgb */ color: rgb(203, 127, 179);
/* oklch */ color: oklch(69.2% 0.115 339.5);
Tailwind
colors: {
  custom: {
    50: '#dca5c9',
    500: '#cb7fb3',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fb3;
$custom-light: #dca5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fb3",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 179
  },
  "hsl": {
    "h": 318.947,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.69237,
    "c": 0.11485,
    "h": 339.5
  },
  "luminance": 0.3113
}

Semantic roles & 50–950 ramp

primary
#CB7FB3
secondary
#C6E0CE
accent
#B55A30
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CB7FB3

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

Preview Lab → · Contrast checker → · Palette generator →

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