#CF3157#CF3157

#CF3157 is a mid, vivid red. Relative luminance 0.162; OKLCH L 56.9% C 0.193 H 12.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#CF3157
RGBrgb(207, 49, 87)
HSLhsl(346, 62%, 50%)
HSVhsv(346, 76%, 81%)
CMYKcmyk(0%, 76.3%, 58%, 18.8%)
CIE-LABlab(47.18, 62.56, 16.83)
CIE-LCHlch(47.18, 64.78, 15.06°)
OKLaboklab(56.93% 0.1888 0.0418)
OKLCHoklch(56.93% 0.193 12.5)
XYZxyz(28.5536, 16.1543, 10.6295)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3157 #31CFA9
analogous
#CF31A6 #CF3157 #CF5A31
triadic
#CF3157 #57CF31 #3157CF
tetradic
#CF3157 #A6CF31 #31CFA9 #5A31CF
square
#CF3157 #A6CF31 #31CFA9 #5A31CF
split-complementary
#CF3157 #31CF5A #31A6CF
monochromatic
#6C192D #9E2542 #CF3157 #DB637F #E694A8

Accessibility & contrast

On white

4.96
#CF3157 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#CF3157 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3157
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3157#FFFFFF#000000##FFFFFF
##CF31571.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C5B57
Deuteranopia (green-blind)
#857C53
Tritanopia (blue-blind)
#E20041
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #cf3157;
/* rgb */ color: rgb(207, 49, 87);
/* oklch */ color: oklch(56.9% 0.193 12.5);
Tailwind
colors: {
  custom: {
    50: '#e57786',
    500: '#cf3157',
    950: '#000000',
  },
}
SCSS
$custom: #cf3157;
$custom-light: #e57786;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3157",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 87
  },
  "hsl": {
    "h": 345.57,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56926,
    "c": 0.19338,
    "h": 12.5
  },
  "luminance": 0.1615
}

Semantic roles & 50–950 ramp

primary
#CF3157
secondary
#8BD1C0
accent
#E5BE43
background
#FFF7F8
surface
#FEEEEF
border
#D6C9CA
text
#170A0B
muted
#857C7C

Preview Lab

Preview with #CF3157

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

Preview Lab → · Contrast checker → · Palette generator →

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