#CA8FBA#CA8FBA

#CA8FBA is a light, moderate pink. Relative luminance 0.357; OKLCH L 72.1% C 0.091 H 336.8°. Best body text is #000000 at 8.15:1 contrast (WCAG AA passes).

Color values

HEX#CA8FBA
RGBrgb(202, 143, 186)
HSLhsl(316, 36%, 68%)
HSVhsv(316, 29%, 79%)
CMYKcmyk(0%, 29.2%, 7.9%, 20.8%)
CIE-LABlab(66.33, 29.10, -13.46)
CIE-LCHlch(66.33, 32.06, 335.18°)
OKLaboklab(72.11% 0.0837 -0.0359)
OKLCHoklch(72.11% 0.091 336.8)
XYZxyz(43.0421, 35.7484, 51.0777)
Luminance0.3575 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA8FBA #8FCA9F
analogous
#BC8FCA #CA8FBA #CA8F9C
triadic
#CA8FBA #BACA8F #8FBACA
tetradic
#CA8FBA #CABC8F #8FCA9F #8F9CCA
square
#CA8FBA #CABC8F #8FCA9F #8F9CCA
split-complementary
#CA8FBA #9CCA8F #8FCABC
monochromatic
#974882 #B665A0 #CA8FBA #DEB9D4 #F1E2ED

Accessibility & contrast

On white

2.58
#CA8FBA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.15
#CA8FBA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CA8FBA
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA8FBA#FFFFFF#000000##000000
##CA8FBA1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#909CBC
Deuteranopia (green-blind)
#9EA4B8
Tritanopia (blue-blind)
#D0919E
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #ca8fba;
/* rgb */ color: rgb(202, 143, 186);
/* oklch */ color: oklch(72.1% 0.091 336.8);
Tailwind
colors: {
  custom: {
    50: '#dbb0ce',
    500: '#ca8fba',
    950: '#000000',
  },
}
SCSS
$custom: #ca8fba;
$custom-light: #dbb0ce;
$custom-dark: #000000;
JSON
{
  "hex": "#ca8fba",
  "rgb": {
    "r": 202,
    "g": 143,
    "b": 186
  },
  "hsl": {
    "h": 316.271,
    "s": 35.758,
    "l": 67.647
  },
  "oklch": {
    "l": 0.72111,
    "c": 0.09103,
    "h": 336.8
  },
  "luminance": 0.35747
}

Semantic roles & 50–950 ramp

primary
#CA8FBA
secondary
#D1E4D6
accent
#AF5737
background
#FDFAFC
surface
#FBF5F9
border
#D4CFD2
text
#151013
muted
#837F82

Preview Lab

Preview with #CA8FBA

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

Preview Lab → · Contrast checker → · Palette generator →

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