#CA7BA2#CA7BA2

#CA7BA2 is a light, moderate pink. Relative luminance 0.293; OKLCH L 67.9% C 0.109 H 349.4°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#CA7BA2
RGBrgb(202, 123, 162)
HSLhsl(330, 43%, 64%)
HSVhsv(330, 39%, 79%)
CMYKcmyk(0%, 39.1%, 19.8%, 20.8%)
CIE-LABlab(61.07, 36.00, -7.72)
CIE-LCHlch(61.07, 36.82, 347.89°)
OKLaboklab(67.86% 0.1074 -0.0201)
OKLCHoklch(67.86% 0.109 349.4)
XYZxyz(37.9623, 29.3336, 37.8379)
Luminance0.2933 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA7BA2 #7BCAA3
analogous
#CA7BC9 #CA7BA2 #CA7B7B
triadic
#CA7BA2 #A2CA7B #7BA2CA
tetradic
#CA7BA2 #C9CA7B #7BCAA3 #7B7BCA
square
#CA7BA2 #C9CA7B #7BCAA3 #7B7BCA
split-complementary
#CA7BA2 #7BCA7B #7BC9CA
monochromatic
#913A65 #B84F83 #CA7BA2 #DCA7C1 #EDD2E0

Accessibility & contrast

On white

3.06
#CA7BA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#CA7BA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA7BA2
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA7BA2#FFFFFF#000000##000000
##CA7BA21.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#828BA3
Deuteranopia (green-blind)
#9698A0
Tritanopia (blue-blind)
#D47989
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #ca7ba2;
/* rgb */ color: rgb(202, 123, 162);
/* oklch */ color: oklch(67.9% 0.109 349.4);
Tailwind
colors: {
  custom: {
    50: '#dca2bd',
    500: '#ca7ba2',
    950: '#000000',
  },
}
SCSS
$custom: #ca7ba2;
$custom-light: #dca2bd;
$custom-dark: #000000;
JSON
{
  "hex": "#ca7ba2",
  "rgb": {
    "r": 202,
    "g": 123,
    "b": 162
  },
  "hsl": {
    "h": 330.38,
    "s": 42.703,
    "l": 63.725
  },
  "oklch": {
    "l": 0.67858,
    "c": 0.10922,
    "h": 349.4
  },
  "luminance": 0.29331
}

Semantic roles & 50–950 ramp

primary
#CA7BA2
secondary
#C2DED1
accent
#B67430
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#150F12
muted
#837F81

Preview Lab

Preview with #CA7BA2

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

Preview Lab → · Contrast checker → · Palette generator →

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