#CF3838#CF3838

#CF3838 is a mid, vivid red. Relative luminance 0.164; OKLCH L 57.0% C 0.188 H 25.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#CF3838
RGBrgb(207, 56, 56)
HSLhsl(0, 61%, 52%)
HSVhsv(0, 73%, 81%)
CMYKcmyk(0%, 72.9%, 72.9%, 18.8%)
CIE-LABlab(47.47, 58.56, 35.79)
CIE-LCHlch(47.47, 68.63, 31.44°)
OKLaboklab(56.98% 0.1698 0.0809)
OKLCHoklch(56.98% 0.188 25.5)
XYZxyz(27.8633, 16.3835, 5.4358)
Luminance0.1638 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF3838 #38CFCF
analogous
#CF3884 #CF3838 #CF8438
triadic
#CF3838 #38CF38 #3838CF
tetradic
#CF3838 #84CF38 #38CFCF #8438CF
square
#CF3838 #84CF38 #38CFCF #8438CF
split-complementary
#CF3838 #38CF84 #3884CF
monochromatic
#711B1B #A32727 #CF3838 #DB6969 #E79B9B

Accessibility & contrast

On white

4.91
#CF3838 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#CF3838 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF3838
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF3838#FFFFFF#000000##FFFFFF
##CF38381.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#645C36
Deuteranopia (green-blind)
#8A7C33
Tritanopia (blue-blind)
#E4003A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #cf3838;
/* rgb */ color: rgb(207, 56, 56);
/* oklch */ color: oklch(57.0% 0.188 25.5);
Tailwind
colors: {
  custom: {
    50: '#e67a6f',
    500: '#cf3838',
    950: '#000000',
  },
}
SCSS
$custom: #cf3838;
$custom-light: #e67a6f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf3838",
  "rgb": {
    "r": 207,
    "g": 56,
    "b": 56
  },
  "hsl": {
    "h": 0,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56978,
    "c": 0.18814,
    "h": 25.5
  },
  "luminance": 0.16379
}

Semantic roles & 50–950 ramp

primary
#CF3838
secondary
#90D3D3
accent
#E4E444
background
#FFF7F6
surface
#FFEEEC
border
#D7C9C7
text
#180A07
muted
#867C7A

Preview Lab

Preview with #CF3838

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

Preview Lab → · Contrast checker → · Palette generator →

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