#CF303A#CF303A

#CF303A is a mid, vivid red. Relative luminance 0.157; OKLCH L 56.3% C 0.195 H 23.2°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#CF303A
RGBrgb(207, 48, 58)
HSLhsl(356, 62%, 50%)
HSVhsv(356, 77%, 81%)
CMYKcmyk(0%, 76.8%, 72%, 18.8%)
CIE-LABlab(46.56, 61.25, 33.58)
CIE-LCHlch(46.56, 69.85, 28.73°)
OKLaboklab(56.31% 0.1788 0.0765)
OKLCHoklch(56.31% 0.195 23.2)
XYZxyz(27.5560, 15.6891, 5.5795)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF303A #30CFC5
analogous
#CF308A #CF303A #CF7530
triadic
#CF303A #3ACF30 #303ACF
tetradic
#CF303A #8ACF30 #30CFC5 #7530CF
square
#CF303A #8ACF30 #30CFC5 #7530CF
split-complementary
#CF303A #30CF75 #308ACF
monochromatic
#6C191E #9D242C #CF303A #DB6269 #E69399

Accessibility & contrast

On white

5.08
#CF303A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#CF303A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF303A
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF303A#FFFFFF#000000##FFFFFF
##CF303A1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605939
Deuteranopia (green-blind)
#887B34
Tritanopia (blue-blind)
#E40036
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cf303a;
/* rgb */ color: rgb(207, 48, 58);
/* oklch */ color: oklch(56.3% 0.195 23.2);
Tailwind
colors: {
  custom: {
    50: '#e77670',
    500: '#cf303a',
    950: '#000000',
  },
}
SCSS
$custom: #cf303a;
$custom-light: #e77670;
$custom-dark: #000000;
JSON
{
  "hex": "#cf303a",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 58
  },
  "hsl": {
    "h": 356.226,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.5631,
    "c": 0.1945,
    "h": 23.2
  },
  "luminance": 0.15685
}

Semantic roles & 50–950 ramp

primary
#CF303A
secondary
#8AD1CD
accent
#E5DB42
background
#FFF7F6
surface
#FFEEEC
border
#D7C9C7
text
#180A07
muted
#867C7A

Preview Lab

Preview with #CF303A

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

Preview Lab → · Contrast checker → · Palette generator →

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