#CF3138#CF3138

#CF3138 is a mid, vivid red. Relative luminance 0.157; OKLCH L 56.4% C 0.194 H 24.0°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#CF3138
RGBrgb(207, 49, 56)
HSLhsl(357, 62%, 50%)
HSVhsv(357, 76%, 81%)
CMYKcmyk(0%, 76.3%, 72.9%, 18.8%)
CIE-LABlab(46.65, 60.86, 34.85)
CIE-LCHlch(46.65, 70.13, 29.80°)
OKLaboklab(56.36% 0.1771 0.0789)
OKLCHoklch(56.36% 0.194 24)
XYZxyz(27.5474, 15.7519, 5.3305)
Luminance0.1575 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3138 #31CFC8
analogous
#CF3187 #CF3138 #CF7931
triadic
#CF3138 #38CF31 #3138CF
tetradic
#CF3138 #87CF31 #31CFC8 #7931CF
square
#CF3138 #87CF31 #31CFC8 #7931CF
split-complementary
#CF3138 #31CF79 #3187CF
monochromatic
#6C191D #9E252A #CF3138 #DB6368 #E69498

Accessibility & contrast

On white

5.06
#CF3138 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#CF3138 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3138
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3138#FFFFFF#000000##FFFFFF
##CF31381.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615937
Deuteranopia (green-blind)
#887B32
Tritanopia (blue-blind)
#E40035
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #cf3138;
/* rgb */ color: rgb(207, 49, 56);
/* oklch */ color: oklch(56.4% 0.194 24.0);
Tailwind
colors: {
  custom: {
    50: '#e7776f',
    500: '#cf3138',
    950: '#000000',
  },
}
SCSS
$custom: #cf3138;
$custom-light: #e7776f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3138",
  "rgb": {
    "r": 207,
    "g": 49,
    "b": 56
  },
  "hsl": {
    "h": 357.342,
    "s": 62.205,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56363,
    "c": 0.19391,
    "h": 24
  },
  "luminance": 0.15748
}

Semantic roles & 50–950 ramp

primary
#CF3138
secondary
#8BD1CE
accent
#E5DE43
background
#FFF7F6
surface
#FFEEEC
border
#D7C9C7
text
#180A07
muted
#867C7A

Preview Lab

Preview with #CF3138

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

Preview Lab → · Contrast checker → · Palette generator →

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