#CA7FB7#CA7FB7

#CA7FB7 is a light, moderate pink. Relative luminance 0.312; OKLCH L 69.3% C 0.117 H 336.7°. Best body text is #000000 at 7.23:1 contrast (WCAG AA passes).

Color values

HEX#CA7FB7
RGBrgb(202, 127, 183)
HSLhsl(315, 41%, 65%)
HSVhsv(315, 37%, 79%)
CMYKcmyk(0%, 37.1%, 9.4%, 20.8%)
CIE-LABlab(62.64, 37.27, -17.34)
CIE-LCHlch(62.64, 41.10, 335.05°)
OKLaboklab(69.27% 0.1076 -0.0464)
OKLCHoklch(69.27% 0.117 336.7)
XYZxyz(40.4936, 31.1563, 48.6714)
Luminance0.3115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7FB7 #7FCA92
analogous
#B87FCA #CA7FB7 #CA7F92
triadic
#CA7FB7 #B7CA7F #7FB7CA
tetradic
#CA7FB7 #CAB87F #7FCA92 #7F92CA
square
#CA7FB7 #CAB87F #7FCA92 #7F92CA
split-complementary
#CA7FB7 #92CA7F #7FCAB8
monochromatic
#923C7C #B8549F #CA7FB7 #DCAACF #EED6E8

Accessibility & contrast

On white

2.90
#CA7FB7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CA7FB7#FFFFFF#000000##000000
##CA7FB71.002.907.237.23
#FFFFFF2.901.0021.0021.00
#0000007.2321.001.001.00
##0000007.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8091B9
Deuteranopia (green-blind)
#939CB5
Tritanopia (blue-blind)
#D18193
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #ca7fb7;
/* rgb */ color: rgb(202, 127, 183);
/* oklch */ color: oklch(69.3% 0.117 336.7);
Tailwind
colors: {
  custom: {
    50: '#dba5cc',
    500: '#ca7fb7',
    950: '#000000',
  },
}
SCSS
$custom: #ca7fb7;
$custom-light: #dba5cc;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7fb7",
  "rgb": {
    "r": 202,
    "g": 127,
    "b": 183
  },
  "hsl": {
    "h": 315.2,
    "s": 41.436,
    "l": 64.51
  },
  "oklch": {
    "l": 0.69273,
    "c": 0.11721,
    "h": 336.7
  },
  "luminance": 0.31154
}

Semantic roles & 50–950 ramp

primary
#CA7FB7
secondary
#C5DFCC
accent
#B45231
background
#FDFAFC
surface
#FBF4F8
border
#D4CED1
text
#150F13
muted
#837F82

Preview Lab

Preview with #CA7FB7

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

Preview Lab → · Contrast checker → · Palette generator →

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