#CA8798#CA8798

#CA8798 is a light, moderate pink. Relative luminance 0.322; OKLCH L 69.6% C 0.085 H 2.9°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#CA8798
RGBrgb(202, 135, 152)
HSLhsl(345, 39%, 66%)
HSVhsv(345, 33%, 79%)
CMYKcmyk(0%, 33.2%, 24.8%, 20.8%)
CIE-LABlab(63.47, 28.01, 1.51)
CIE-LCHlch(63.47, 28.05, 3.08°)
OKLaboklab(69.59% 0.0846 0.0043)
OKLCHoklch(69.59% 0.085 2.9)
XYZxyz(38.6894, 32.1539, 33.8682)
Luminance0.3215 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8798 #87CAB9
analogous
#CA87B9 #CA8798 #CA9787
triadic
#CA8798 #98CA87 #8798CA
tetradic
#CA8798 #B9CA87 #87CAB9 #9787CA
square
#CA8798 #B9CA87 #87CAB9 #9787CA
split-complementary
#CA8798 #87CA97 #87B9CA
monochromatic
#954257 #B75D74 #CA8798 #DDB1BC #EFDCE1

Accessibility & contrast

On white

2.83
#CA8798 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#CA8798 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8798
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8798#FFFFFF#000000##000000
##CA87981.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#909299
Deuteranopia (green-blind)
#A09E97
Tritanopia (blue-blind)
#D5838D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #ca8798;
/* rgb */ color: rgb(202, 135, 152);
/* oklch */ color: oklch(69.6% 0.085 2.9);
Tailwind
colors: {
  custom: {
    50: '#dbaab6',
    500: '#ca8798',
    950: '#000000',
  },
}
SCSS
$custom: #ca8798;
$custom-light: #dbaab6;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8798",
  "rgb": {
    "r": 202,
    "g": 135,
    "b": 152
  },
  "hsl": {
    "h": 344.776,
    "s": 38.728,
    "l": 66.078
  },
  "oklch": {
    "l": 0.69589,
    "c": 0.08467,
    "h": 2.9
  },
  "luminance": 0.32152
}

Semantic roles & 50–950 ramp

primary
#CA8798
secondary
#CBE1DC
accent
#B29234
background
#FDFAFB
surface
#FBF4F6
border
#D4CED0
text
#151011
muted
#837F80

Preview Lab

Preview with #CA8798

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

Preview Lab → · Contrast checker → · Palette generator →

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