#C7307F#C7307F

#C7307F is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.7% C 0.198 H 353.7°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#C7307F
RGBrgb(199, 48, 127)
HSLhsl(329, 61%, 48%)
HSVhsv(329, 76%, 78%)
CMYKcmyk(0%, 75.9%, 36.2%, 22%)
CIE-LABlab(46.70, 64.18, -8.58)
CIE-LCHlch(46.70, 64.75, 352.38°)
OKLaboklab(56.67% 0.197 -0.0219)
OKLCHoklch(56.67% 0.198 353.7)
XYZxyz(28.4427, 15.7918, 21.6249)
Luminance0.1579 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7307F #30C778
analogous
#C330C7 #C7307F #C73033
triadic
#C7307F #7FC730 #307FC7
tetradic
#C7307F #C7C330 #30C778 #3033C7
square
#C7307F #C7C330 #30C778 #3033C7
split-complementary
#C7307F #33C730 #30C7C3
monochromatic
#641840 #962460 #C7307F #D85C9D #E48EBB

Accessibility & contrast

On white

5.05
#C7307F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#C7307F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7307F
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7307F#FFFFFF#000000##FFFFFF
##C7307F1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5D81
Deuteranopia (green-blind)
#78797C
Tritanopia (blue-blind)
#D71F54
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c7307f;
/* rgb */ color: rgb(199, 48, 127);
/* oklch */ color: oklch(56.7% 0.198 353.7);
Tailwind
colors: {
  custom: {
    50: '#dd77a4',
    500: '#c7307f',
    950: '#000000',
  },
}
SCSS
$custom: #c7307f;
$custom-light: #dd77a4;
$custom-dark: #000000;
JSON
{
  "hex": "#c7307f",
  "rgb": {
    "r": 199,
    "g": 48,
    "b": 127
  },
  "hsl": {
    "h": 328.609,
    "s": 61.134,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5667,
    "c": 0.19821,
    "h": 353.7
  },
  "luminance": 0.15788
}

Semantic roles & 50–950 ramp

primary
#C7307F
secondary
#85CEA8
accent
#E49044
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C7307F

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

Preview Lab → · Contrast checker → · Palette generator →

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