#CF303C#CF303C

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

Color values

HEX#CF303C
RGBrgb(207, 48, 60)
HSLhsl(355, 62%, 50%)
HSVhsv(355, 77%, 81%)
CMYKcmyk(0%, 76.8%, 71%, 18.8%)
CIE-LABlab(46.59, 61.34, 32.44)
CIE-LCHlch(46.59, 69.39, 27.87°)
OKLaboklab(56.34% 0.1795 0.0744)
OKLCHoklch(56.34% 0.194 22.5)
XYZxyz(27.6079, 15.7098, 5.8527)
Luminance0.1571 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF303C #30CFC3
analogous
#CF308B #CF303C #CF7430
triadic
#CF303C #3CCF30 #303CCF
tetradic
#CF303C #8BCF30 #30CFC3 #7430CF
square
#CF303C #8BCF30 #30CFC3 #7430CF
split-complementary
#CF303C #30CF74 #308BCF
monochromatic
#6C191F #9D242E #CF303C #DB626B #E6939A

Accessibility & contrast

On white

5.07
#CF303C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #CF303C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF303C#FFFFFF#000000##FFFFFF
##CF303C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60593B
Deuteranopia (green-blind)
#887B37
Tritanopia (blue-blind)
#E40036
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #cf303c;
/* rgb */ color: rgb(207, 48, 60);
/* oklch */ color: oklch(56.3% 0.194 22.5);
Tailwind
colors: {
  custom: {
    50: '#e77672',
    500: '#cf303c',
    950: '#000000',
  },
}
SCSS
$custom: #cf303c;
$custom-light: #e77672;
$custom-dark: #000000;
JSON
{
  "hex": "#cf303c",
  "rgb": {
    "r": 207,
    "g": 48,
    "b": 60
  },
  "hsl": {
    "h": 355.472,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.56339,
    "c": 0.19434,
    "h": 22.5
  },
  "luminance": 0.15706
}

Semantic roles & 50–950 ramp

primary
#CF303C
secondary
#8AD1CC
accent
#E5D942
background
#FFF7F6
surface
#FFEEEC
border
#D7C9C7
text
#180A07
muted
#867C7A

Preview Lab

Preview with #CF303C

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

Preview Lab → · Contrast checker → · Palette generator →

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