#CF4038#CF4038

#CF4038 is a mid, vivid red. Relative luminance 0.172; OKLCH L 57.8% C 0.181 H 27.5°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#CF4038
RGBrgb(207, 64, 56)
HSLhsl(3, 61%, 52%)
HSVhsv(3, 73%, 81%)
CMYKcmyk(0%, 69.1%, 72.9%, 18.8%)
CIE-LABlab(48.54, 55.62, 37.00)
CIE-LCHlch(48.54, 66.81, 33.63°)
OKLaboklab(57.77% 0.1606 0.0836)
OKLCHoklch(57.77% 0.181 27.5)
XYZxyz(28.2825, 17.2219, 5.5755)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CF4038 #38C7CF
analogous
#CF387C #CF4038 #CF8C38
triadic
#CF4038 #38CF40 #4038CF
tetradic
#CF4038 #7CCF38 #38C7CF #8C38CF
square
#CF4038 #7CCF38 #38C7CF #8C38CF
split-complementary
#CF4038 #38CF8C #387CCF
monochromatic
#71201B #A32E27 #CF4038 #DB6F69 #E79F9B

Accessibility & contrast

On white

4.73
#CF4038 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#CF4038 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #CF4038
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CF4038#FFFFFF#000000##FFFFFF
##CF40381.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695F36
Deuteranopia (green-blind)
#8D7F33
Tritanopia (blue-blind)
#E40F3F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #cf4038;
/* rgb */ color: rgb(207, 64, 56);
/* oklch */ color: oklch(57.8% 0.181 27.5);
Tailwind
colors: {
  custom: {
    50: '#e67d6f',
    500: '#cf4038',
    950: '#000000',
  },
}
SCSS
$custom: #cf4038;
$custom-light: #e67d6f;
$custom-dark: #000000;
JSON
{
  "hex": "#cf4038",
  "rgb": {
    "r": 207,
    "g": 64,
    "b": 56
  },
  "hsl": {
    "h": 3.179,
    "s": 61.134,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57773,
    "c": 0.18104,
    "h": 27.5
  },
  "luminance": 0.17218
}

Semantic roles & 50–950 ramp

primary
#CF4038
secondary
#90CFD3
accent
#DCE444
background
#FFF8F6
surface
#FFEFEC
border
#D7CAC7
text
#180A07
muted
#867C7A

Preview Lab

Preview with #CF4038

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

Preview Lab → · Contrast checker → · Palette generator →

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