#C730A1#C730A1

#C730A1 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.1% C 0.217 H 340.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C730A1
RGBrgb(199, 48, 161)
HSLhsl(315, 61%, 48%)
HSVhsv(315, 76%, 78%)
CMYKcmyk(0%, 75.9%, 19.1%, 22%)
CIE-LABlab(48.05, 68.27, -27.00)
CIE-LCHlch(48.05, 73.41, 338.42°)
OKLaboklab(58.09% 0.204 -0.0729)
OKLCHoklch(58.09% 0.217 340.3)
XYZxyz(31.0441, 16.8324, 35.3254)
Luminance0.1683 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730A1 #30C756
analogous
#A130C7 #C730A1 #C73055
triadic
#C730A1 #A1C730 #30A1C7
tetradic
#C730A1 #C7A130 #30C756 #3055C7
square
#C730A1 #C7A130 #30C756 #3055C7
split-complementary
#C730A1 #55C730 #30C7A1
monochromatic
#641851 #962479 #C730A1 #D85CB9 #E48ECE

Accessibility & contrast

On white

4.81
#C730A1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#C730A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C730A1
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730A1#FFFFFF#000000##FFFFFF
##C730A11.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A4
Deuteranopia (green-blind)
#6D7B9E
Tritanopia (blue-blind)
#D33565
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c730a1;
/* rgb */ color: rgb(199, 48, 161);
/* oklch */ color: oklch(58.1% 0.217 340.3);
Tailwind
colors: {
  custom: {
    50: '#dc78bd',
    500: '#c730a1',
    950: '#000000',
  },
}
SCSS
$custom: #c730a1;
$custom-light: #dc78bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c730a1",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 161
  },
  "hsl": {
    "h": 315.099,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5809,
    "c": 0.21664,
    "h": 340.3
  },
  "luminance": 0.16829
}

Semantic roles & 50–950 ramp

primary
#C730A1
secondary
#85CE97
accent
#E46C44
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C730A1

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

Preview Lab → · Contrast checker → · Palette generator →

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