#CB7FB2#CB7FB2

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

Color values

HEX#CB7FB2
RGBrgb(203, 127, 178)
HSLhsl(320, 42%, 65%)
HSVhsv(320, 37%, 80%)
CMYKcmyk(0%, 37.4%, 12.3%, 20.4%)
CIE-LABlab(62.59, 36.76, -14.57)
CIE-LCHlch(62.59, 39.54, 338.38°)
OKLaboklab(69.2% 0.1073 -0.0388)
OKLCHoklch(69.2% 0.114 340.1)
XYZxyz(40.2539, 31.0918, 45.9919)
Luminance0.3109 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FB2 #7FCB98
analogous
#BE7FCB #CB7FB2 #CB7F8C
triadic
#CB7FB2 #B2CB7F #7FB2CB
tetradic
#CB7FB2 #CBBE7F #7FCB98 #7F8CCB
square
#CB7FB2 #CBBE7F #7FCB98 #7F8CCB
split-complementary
#CB7FB2 #8CCB7F #7FCBBE
monochromatic
#943C77 #B95398 #CB7FB2 #DDABCC #EED6E6

Accessibility & contrast

On white

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

On black

7.22
#CB7FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FB2
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FB2#FFFFFF#000000##000000
##CB7FB21.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8290B4
Deuteranopia (green-blind)
#959CB0
Tritanopia (blue-blind)
#D38091
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #cb7fb2;
/* rgb */ color: rgb(203, 127, 178);
/* oklch */ color: oklch(69.2% 0.114 340.1);
Tailwind
colors: {
  custom: {
    50: '#dca5c9',
    500: '#cb7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fb2;
$custom-light: #dca5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fb2",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 319.737,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.692,
    "c": 0.11408,
    "h": 340.1
  },
  "luminance": 0.3109
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #CB7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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