#CA74BA#CA74BA

#CA74BA is a light, vivid pink. Relative luminance 0.286; OKLCH L 67.6% C 0.139 H 334.2°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#CA74BA
RGBrgb(202, 116, 186)
HSLhsl(311, 45%, 62%)
HSVhsv(311, 43%, 79%)
CMYKcmyk(0%, 42.6%, 7.9%, 20.8%)
CIE-LABlab(60.42, 43.61, -22.42)
CIE-LCHlch(60.42, 49.04, 332.79°)
OKLaboklab(67.64% 0.1252 -0.0605)
OKLCHoklch(67.64% 0.139 334.2)
XYZxyz(39.4653, 28.5948, 49.8855)
Luminance0.2859 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CA74BA #74CA84
analogous
#AF74CA #CA74BA #CA748F
triadic
#CA74BA #BACA74 #74BACA
tetradic
#CA74BA #CAAF74 #74CA84 #748FCA
square
#CA74BA #CAAF74 #74CA84 #748FCA
split-complementary
#CA74BA #8FCA74 #74CAAF
monochromatic
#8E367D #B948A4 #CA74BA #DBA0D0 #ECCDE6

Accessibility & contrast

On white

3.13
#CA74BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#CA74BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #CA74BA
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CA74BA#FFFFFF#000000##000000
##CA74BA1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#748ABC
Deuteranopia (green-blind)
#8A96B7
Tritanopia (blue-blind)
#D1788F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #ca74ba;
/* rgb */ color: rgb(202, 116, 186);
/* oklch */ color: oklch(67.6% 0.139 334.2);
Tailwind
colors: {
  custom: {
    50: '#dc9ecf',
    500: '#ca74ba',
    950: '#000000',
  },
}
SCSS
$custom: #ca74ba;
$custom-light: #dc9ecf;
$custom-dark: #000000;
JSON
{
  "hex": "#ca74ba",
  "rgb": {
    "r": 202,
    "g": 116,
    "b": 186
  },
  "hsl": {
    "h": 311.163,
    "s": 44.792,
    "l": 62.353
  },
  "oklch": {
    "l": 0.67638,
    "c": 0.13908,
    "h": 334.2
  },
  "luminance": 0.28593
}

Semantic roles & 50–950 ramp

primary
#CA74BA
secondary
#BDDDC3
accent
#B8472E
background
#FDF9FC
surface
#FBF2F9
border
#D4CCD2
text
#150E13
muted
#837E82

Preview Lab

Preview with #CA74BA

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

Preview Lab → · Contrast checker → · Palette generator →

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