#CB7FA8#CB7FA8

#CB7FA8 is a light, moderate pink. Relative luminance 0.307; OKLCH L 68.8% C 0.107 H 346.7°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#CB7FA8
RGBrgb(203, 127, 168)
HSLhsl(328, 42%, 65%)
HSVhsv(328, 37%, 80%)
CMYKcmyk(0%, 37.4%, 17.2%, 20.4%)
CIE-LABlab(62.26, 35.14, -9.37)
CIE-LCHlch(62.26, 36.36, 345.06°)
OKLaboklab(68.84% 0.1041 -0.0246)
OKLCHoklch(68.84% 0.107 346.7)
XYZxyz(39.2863, 30.7048, 40.8955)
Luminance0.3070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CB7FA8 #7FCBA2
analogous
#C87FCB #CB7FA8 #CB7F82
triadic
#CB7FA8 #A8CB7F #7FA8CB
tetradic
#CB7FA8 #CBC87F #7FCBA2 #7F82CB
square
#CB7FA8 #CBC87F #7FCBA2 #7F82CB
split-complementary
#CB7FA8 #82CB7F #7FCBC8
monochromatic
#943C6B #B9538A #CB7FA8 #DDABC6 #EED6E3

Accessibility & contrast

On white

2.94
#CB7FA8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#CB7FA8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CB7FA8
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CB7FA8#FFFFFF#000000##000000
##CB7FA81.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#858FAA
Deuteranopia (green-blind)
#989BA6
Tritanopia (blue-blind)
#D57E8E
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #cb7fa8;
/* rgb */ color: rgb(203, 127, 168);
/* oklch */ color: oklch(68.8% 0.107 346.7);
Tailwind
colors: {
  custom: {
    50: '#dca5c1',
    500: '#cb7fa8',
    950: '#000000',
  },
}
SCSS
$custom: #cb7fa8;
$custom-light: #dca5c1;
$custom-dark: #000000;
JSON
{
  "hex": "#cb7fa8",
  "rgb": {
    "r": 203,
    "g": 127,
    "b": 168
  },
  "hsl": {
    "h": 327.632,
    "s": 42.222,
    "l": 64.706
  },
  "oklch": {
    "l": 0.68844,
    "c": 0.107,
    "h": 346.7
  },
  "luminance": 0.30702
}

Semantic roles & 50–950 ramp

primary
#CB7FA8
secondary
#C6E0D2
accent
#B56D30
background
#FDFAFB
surface
#FBF4F7
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CB7FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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