#C31B4E#C31B4E

#C31B4E is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.198 H 11.4°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#C31B4E
RGBrgb(195, 27, 78)
HSLhsl(342, 76%, 44%)
HSVhsv(342, 86%, 76%)
CMYKcmyk(0%, 86.2%, 60%, 23.5%)
CIE-LABlab(42.67, 64.33, 15.93)
CIE-LCHlch(42.67, 66.28, 13.91°)
OKLaboklab(53.13% 0.1945 0.0394)
OKLCHoklch(53.13% 0.198 11.4)
XYZxyz(24.2753, 12.9398, 8.4257)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C31B4E #1BC390
analogous
#C31BA2 #C31B4E #C33C1B
triadic
#C31B4E #4EC31B #1B4EC3
tetradic
#C31B4E #A2C31B #1BC390 #3C1BC3
square
#C31B4E #A2C31B #1BC390 #3C1BC3
split-complementary
#C31B4E #1BC33C #1BA2C3
monochromatic
#570C23 #8D1438 #C31B4E #E3386C #EB6E94

Accessibility & contrast

On white

5.85
#C31B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#C31B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C31B4E
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C31B4E#FFFFFF#000000##FFFFFF
##C31B4E1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F4F
Deuteranopia (green-blind)
#79714A
Tritanopia (blue-blind)
#D60033
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c31b4e;
/* rgb */ color: rgb(195, 27, 78);
/* oklch */ color: oklch(53.1% 0.198 11.4);
Tailwind
colors: {
  custom: {
    50: '#dd6e7f',
    500: '#c31b4e',
    950: '#000000',
  },
}
SCSS
$custom: #c31b4e;
$custom-light: #dd6e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c31b4e",
  "rgb": {
    "r": 195,
    "g": 27,
    "b": 78
  },
  "hsl": {
    "h": 341.786,
    "s": 75.676,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53129,
    "c": 0.19848,
    "h": 11.4
  },
  "luminance": 0.12936
}

Semantic roles & 50–950 ramp

primary
#C31B4E
secondary
#69D1B1
accent
#F2B936
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#17080A
muted
#857B7C

Preview Lab

Preview with #C31B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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