#C0315F#C0315F

#C0315F is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.6% C 0.181 H 6.5°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#C0315F
RGBrgb(192, 49, 95)
HSLhsl(341, 59%, 47%)
HSVhsv(341, 74%, 75%)
CMYKcmyk(0%, 74.5%, 50.5%, 24.7%)
CIE-LABlab(44.56, 58.89, 7.85)
CIE-LCHlch(44.56, 59.41, 7.59°)
OKLaboklab(54.55% 0.1797 0.0204)
OKLCHoklch(54.55% 0.181 6.5)
XYZxyz(24.9043, 14.2327, 12.2600)
Luminance0.1423 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0315F #31C092
analogous
#C031A7 #C0315F #C04A31
triadic
#C0315F #5FC031 #315FC0
tetradic
#C0315F #A7C031 #31C092 #4A31C0
square
#C0315F #A7C031 #31C092 #4A31C0
split-complementary
#C0315F #31C04A #31A7C0
monochromatic
#5E182F #8F2547 #C0315F #D55981 #E18AA6

Accessibility & contrast

On white

5.46
#C0315F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#C0315F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0315F
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0315F#FFFFFF#000000##FFFFFF
##C0315F1.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545760
Deuteranopia (green-blind)
#7A745C
Tritanopia (blue-blind)
#D10D44
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c0315f;
/* rgb */ color: rgb(192, 49, 95);
/* oklch */ color: oklch(54.6% 0.181 6.5);
Tailwind
colors: {
  custom: {
    50: '#d9758c',
    500: '#c0315f',
    950: '#000000',
  },
}
SCSS
$custom: #c0315f;
$custom-light: #d9758c;
$custom-dark: #000000;
JSON
{
  "hex": "#c0315f",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 95
  },
  "hsl": {
    "h": 340.699,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54551,
    "c": 0.18087,
    "h": 6.5
  },
  "luminance": 0.14229
}

Semantic roles & 50–950 ramp

primary
#C0315F
secondary
#82CBB4
accent
#E3B045
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C0315F

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

Preview Lab → · Contrast checker → · Palette generator →

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