#C730A2#C730A2

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

Color values

HEX#C730A2
RGBrgb(199, 48, 162)
HSLhsl(315, 61%, 48%)
HSVhsv(315, 76%, 78%)
CMYKcmyk(0%, 75.9%, 18.6%, 22%)
CIE-LABlab(48.09, 68.40, -27.52)
CIE-LCHlch(48.09, 73.73, 338.08°)
OKLaboklab(58.14% 0.2041 -0.0744)
OKLCHoklch(58.14% 0.217 340)
XYZxyz(31.1326, 16.8678, 35.7916)
Luminance0.1686 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C730A2 #30C755
analogous
#A030C7 #C730A2 #C73056
triadic
#C730A2 #A2C730 #30A2C7
tetradic
#C730A2 #C7A030 #30C755 #3056C7
square
#C730A2 #C7A030 #30C755 #3056C7
split-complementary
#C730A2 #56C730 #30C7A0
monochromatic
#641852 #96247A #C730A2 #D85CBA #E48ECF

Accessibility & contrast

On white

4.80
#C730A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C730A2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C730A2#FFFFFF#000000##FFFFFF
##C730A21.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B63A5
Deuteranopia (green-blind)
#6D7B9F
Tritanopia (blue-blind)
#D33566
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c730a2;
/* rgb */ color: rgb(199, 48, 162);
/* oklch */ color: oklch(58.1% 0.217 340.0);
Tailwind
colors: {
  custom: {
    50: '#dc78be',
    500: '#c730a2',
    950: '#000000',
  },
}
SCSS
$custom: #c730a2;
$custom-light: #dc78be;
$custom-dark: #000000;
JSON
{
  "hex": "#c730a2",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 162
  },
  "hsl": {
    "h": 314.702,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58137,
    "c": 0.21726,
    "h": 340
  },
  "luminance": 0.16865
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C730A2

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

Preview Lab → · Contrast checker → · Palette generator →

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