#C730A5#C730A5

#C730A5 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.3% C 0.219 H 338.9°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C730A5
RGBrgb(199, 48, 165)
HSLhsl(314, 61%, 48%)
HSVhsv(314, 76%, 78%)
CMYKcmyk(0%, 75.9%, 17.1%, 22%)
CIE-LABlab(48.23, 68.81, -29.09)
CIE-LCHlch(48.23, 74.70, 337.08°)
OKLaboklab(58.28% 0.2045 -0.0788)
OKLCHoklch(58.28% 0.219 338.9)
XYZxyz(31.4025, 16.9757, 37.2128)
Luminance0.1697 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730A5 #30C752
analogous
#9D30C7 #C730A5 #C73059
triadic
#C730A5 #A5C730 #30A5C7
tetradic
#C730A5 #C79D30 #30C752 #3059C7
square
#C730A5 #C79D30 #30C752 #3059C7
split-complementary
#C730A5 #59C730 #30C79D
monochromatic
#641853 #96247C #C730A5 #D85CBC #E48ED0

Accessibility & contrast

On white

4.78
#C730A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C730A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C730A5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730A5#FFFFFF#000000##FFFFFF
##C730A51.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3963A8
Deuteranopia (green-blind)
#6C7BA2
Tritanopia (blue-blind)
#D23768
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c730a5;
/* rgb */ color: rgb(199, 48, 165);
/* oklch */ color: oklch(58.3% 0.219 338.9);
Tailwind
colors: {
  custom: {
    50: '#dc78c0',
    500: '#c730a5',
    950: '#000000',
  },
}
SCSS
$custom: #c730a5;
$custom-light: #dc78c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c730a5",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 165
  },
  "hsl": {
    "h": 313.51,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5828,
    "c": 0.21917,
    "h": 338.9
  },
  "luminance": 0.16973
}

Semantic roles & 50–950 ramp

primary
#C730A5
secondary
#85CE95
accent
#E46844
background
#FEF7FB
surface
#FCEEF7
border
#D5C9D0
text
#160A12
muted
#847C81

Preview Lab

Preview with #C730A5

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

Preview Lab → · Contrast checker → · Palette generator →

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