#CA74BB#CA74BB

#CA74BB is a light, vivid pink. Relative luminance 0.286; OKLCH L 67.7% C 0.140 H 333.7°. Best body text is #000000 at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#CA74BB
RGBrgb(202, 116, 187)
HSLhsl(310, 45%, 62%)
HSVhsv(310, 43%, 79%)
CMYKcmyk(0%, 42.6%, 7.4%, 20.8%)
CIE-LABlab(60.46, 43.78, -22.93)
CIE-LCHlch(60.46, 49.42, 332.36°)
OKLaboklab(67.68% 0.1255 -0.0619)
OKLCHoklch(67.68% 0.14 333.7)
XYZxyz(39.5720, 28.6374, 50.4473)
Luminance0.2863 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74BB #74CA83
analogous
#AE74CA #CA74BB #CA7490
triadic
#CA74BB #BBCA74 #74BBCA
tetradic
#CA74BB #CAAE74 #74CA83 #7490CA
square
#CA74BB #CAAE74 #74CA83 #7490CA
split-complementary
#CA74BB #90CA74 #74CAAE
monochromatic
#8E367E #B948A5 #CA74BB #DBA0D1 #ECCDE6

Accessibility & contrast

On white

3.12
#CA74BB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.73
#CA74BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA74BB
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74BB#FFFFFF#000000##000000
##CA74BB1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#738ABE
Deuteranopia (green-blind)
#8A96B8
Tritanopia (blue-blind)
#D1798F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca74bb;
/* rgb */ color: rgb(202, 116, 187);
/* oklch */ color: oklch(67.7% 0.140 333.7);
Tailwind
colors: {
  custom: {
    50: '#dc9ecf',
    500: '#ca74bb',
    950: '#000000',
  },
}
SCSS
$custom: #ca74bb;
$custom-light: #dc9ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74bb",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 187
  },
  "hsl": {
    "h": 310.465,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67679,
    "c": 0.13993,
    "h": 333.7
  },
  "luminance": 0.28635
}

Semantic roles & 50–950 ramp

primary
#CA74BB
secondary
#BDDDC3
accent
#B8462E
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E14
muted
#837E82

Preview Lab

Preview with #CA74BB

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

Preview Lab → · Contrast checker → · Palette generator →

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