#CA7FB2#CA7FB2

#CA7FB2 is a light, moderate pink. Relative luminance 0.309; OKLCH L 69.1% C 0.113 H 339.7°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#CA7FB2
RGBrgb(202, 127, 178)
HSLhsl(319, 41%, 65%)
HSVhsv(319, 37%, 79%)
CMYKcmyk(0%, 37.1%, 11.9%, 20.8%)
CIE-LABlab(62.47, 36.42, -14.76)
CIE-LCHlch(62.47, 39.30, 337.94°)
OKLaboklab(69.08% 0.1062 -0.0393)
OKLCHoklch(69.08% 0.113 339.7)
XYZxyz(39.9824, 30.9518, 45.9792)
Luminance0.3095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FB2 #7FCA97
analogous
#BD7FCA #CA7FB2 #CA7F8D
triadic
#CA7FB2 #B2CA7F #7FB2CA
tetradic
#CA7FB2 #CABD7F #7FCA97 #7F8DCA
square
#CA7FB2 #CABD7F #7FCA97 #7F8DCA
split-complementary
#CA7FB2 #8DCA7F #7FCABD
monochromatic
#923C77 #B85498 #CA7FB2 #DCAACC #EED6E6

Accessibility & contrast

On white

2.92
#CA7FB2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#CA7FB2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA7FB2
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7FB2#FFFFFF#000000##000000
##CA7FB21.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8290B4
Deuteranopia (green-blind)
#949BB0
Tritanopia (blue-blind)
#D28091
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7fb2;
/* rgb */ color: rgb(202, 127, 178);
/* oklch */ color: oklch(69.1% 0.113 339.7);
Tailwind
colors: {
  custom: {
    50: '#dba5c9',
    500: '#ca7fb2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fb2;
$custom-light: #dba5c9;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fb2",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 178
  },
  "hsl": {
    "h": 319.2,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69085,
    "c": 0.11319,
    "h": 339.7
  },
  "luminance": 0.3095
}

Semantic roles & 50–950 ramp

primary
#CA7FB2
secondary
#C5DFCE
accent
#B45B31
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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