#C0315E#C0315E

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

Color values

HEX#C0315E
RGBrgb(192, 49, 94)
HSLhsl(341, 59%, 47%)
HSVhsv(341, 74%, 75%)
CMYKcmyk(0%, 74.5%, 51%, 24.7%)
CIE-LABlab(44.54, 58.81, 8.43)
CIE-LCHlch(44.54, 59.41, 8.16°)
OKLaboklab(54.52% 0.1793 0.0219)
OKLCHoklch(54.52% 0.181 6.9)
XYZxyz(24.8591, 14.2147, 12.0222)
Luminance0.1421 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0315E #31C093
analogous
#C031A5 #C0315E #C04C31
triadic
#C0315E #5EC031 #315EC0
tetradic
#C0315E #A5C031 #31C093 #4C31C0
square
#C0315E #A5C031 #31C093 #4C31C0
split-complementary
#C0315E #31C04C #31A5C0
monochromatic
#5E182E #8F2546 #C0315E #D55980 #E18AA6

Accessibility & contrast

On white

5.47
#C0315E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#C0315E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0315E
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0315E#FFFFFF#000000##FFFFFF
##C0315E1.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54575F
Deuteranopia (green-blind)
#7A745B
Tritanopia (blue-blind)
#D10C44
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c0315e;
/* rgb */ color: rgb(192, 49, 94);
/* oklch */ color: oklch(54.5% 0.181 6.9);
Tailwind
colors: {
  custom: {
    50: '#d9758b',
    500: '#c0315e',
    950: '#000000',
  },
}
SCSS
$custom: #c0315e;
$custom-light: #d9758b;
$custom-dark: #000000;
JSON
{
  "hex": "#c0315e",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 94
  },
  "hsl": {
    "h": 341.119,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54523,
    "c": 0.18067,
    "h": 6.9
  },
  "luminance": 0.14211
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C0315E

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

Preview Lab → · Contrast checker → · Palette generator →

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