#CA6798#CA6798

#CA6798 is a light, vivid pink. Relative luminance 0.245; OKLCH L 64.4% C 0.137 H 350.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#CA6798
RGBrgb(202, 103, 152)
HSLhsl(330, 48%, 60%)
HSVhsv(330, 49%, 79%)
CMYKcmyk(0%, 49%, 24.8%, 20.8%)
CIE-LABlab(56.61, 44.98, -8.60)
CIE-LCHlch(56.61, 45.79, 349.17°)
OKLaboklab(64.38% 0.1354 -0.0223)
OKLCHoklch(64.38% 0.137 350.6)
XYZxyz(34.8759, 24.5269, 32.5970)
Luminance0.2452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA6798 #67CA99
analogous
#CA67CA #CA6798 #CA6767
triadic
#CA6798 #98CA67 #6798CA
tetradic
#CA6798 #CACA67 #67CA99 #6767CA
square
#CA6798 #CACA67 #67CA99 #6767CA
split-complementary
#CA6798 #67CA67 #67CACA
monochromatic
#872F5B #B53F79 #CA6798 #DA94B7 #EAC2D5

Accessibility & contrast

On white

3.56
#CA6798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#CA6798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA6798
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA6798#FFFFFF#000000##000000
##CA67981.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#727D9A
Deuteranopia (green-blind)
#8C8E96
Tritanopia (blue-blind)
#D66479
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #ca6798;
/* rgb */ color: rgb(202, 103, 152);
/* oklch */ color: oklch(64.4% 0.137 350.6);
Tailwind
colors: {
  custom: {
    50: '#dc95b6',
    500: '#ca6798',
    950: '#000000',
  },
}
SCSS
$custom: #ca6798;
$custom-light: #dc95b6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca6798",
  "rgb": {
    "r": 202,
    "g": 103,
    "b": 152
  },
  "hsl": {
    "h": 330.303,
    "s": 48.293,
    "l": 59.804
  },
  "oklch": {
    "l": 0.64384,
    "c": 0.13722,
    "h": 350.6
  },
  "luminance": 0.24524
}

Semantic roles & 50–950 ramp

primary
#CA6798
secondary
#B3DAC7
accent
#D89550
background
#FDF9FB
surface
#FBF2F6
border
#D4CCD0
text
#150D11
muted
#837E80

Preview Lab

Preview with #CA6798

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

Preview Lab → · Contrast checker → · Palette generator →

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