Skip to content

Lava (#CF1020)

The hex code for Lava is #CF1020. It is rgb(207, 16, 32) in RGB, hsl(355, 86%, 44%) in HSL, and about cmyk(0%, 92%, 85%, 19%) in CMYK — a mid-tone red. White text is the more readable choice on this background.

#CF1020
HEX#CF1020
RGBrgb(207, 16, 32)
HSLhsl(355, 86%, 44%)
HSVhsv(355, 92%, 81%)
CMYKcmyk(0%, 92%, 85%, 19%)
OKLCHoklch(54.2% 0.214 26.1)
LABlab(44.72% 67.85 47.29)
LCHlch(44.72% 82.70 34.87)

Colors Closest to Lava

Lava is a registered color name. These are the named colors nearest to it, measured as CIE76 distance in CIELAB — a perceptual scale, so the ordering matches what the eye sees rather than how close the raw RGB numbers happen to sit.

Browse the full index of named colors A-Z or every red in the library.

#CF1020 Channel Values

How Lava breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 207 · G 16 · B 328-bit channels as sent to the display
HSLH 355° · S 86% · L 44%Easiest model for building lighter and darker variants
HSVH 355° · S 92% · V 81%Matches the picker in most design tools
CMYKC 0% · M 92% · Y 85% · K 19%Approximate ink mix; confirm with an ICC profile before printing
Luminance5.6:1 vs white · 3.75:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a Lava background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text5.6:1AA normal AA large AAA normal
TextBlack text3.75:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #CF1020 in the contrast checker.

Colors That Go With Lava

Pairings derived from color-wheel relationships. The complementary color sits opposite Lava; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of Lava

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #CF1020.

How Lava Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#CF1020
Protanopia#5E5E1C
Protanomaly#984A1E
Deuteranopia#7E7E00
Deuteranomaly#A5640D
Tritanopia#CF1313
Tritanomaly#CF1219
Achromatopsia#686868

Test a full palette in the color blindness simulator.

Using #CF1020 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--lava: #CF1020;
CSS backgroundbackground-color: #CF1020;
Tailwind configcolors: { 'lava': '#CF1020' }
SwiftUIColor(red: 0.812, green: 0.063, blue: 0.125)
Android XML<color name="lava">#CF1020</color>
SVG fillfill="#CF1020"

More Red Colors

Lava sits in the redfamily. These are its neighbours across that family's full range, each with its own breakdown.

#CF1020 Frequently Asked Questions

What is the hex code for Lava?

The hex code for Lava is #CF1020. That is rgb(207, 16, 32) in RGB, hsl(355, 86%, 44%) in HSL, and approximately cmyk(0%, 92%, 85%, 19%) in CMYK.

What is the RGB value of #CF1020?

#CF1020 is rgb(207, 16, 32) — red 207, green 16, and blue 32 on the 0-255 scale.

What is the CMYK value of #CF1020?

#CF1020 converts to approximately cmyk(0%, 92%, 85%, 19%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #CF1020 be black or white?

White text is the more readable choice. #CF1020 scores 5.6:1 against white and 3.75:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #CF1020 as a CSS color keyword?

No. #CF1020 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is crimson (#DC143C) at a CIE76 distance of 12.69, which is visibly different.

Open Lava in a Tool

Keep exploring: every red in the color library, the guide to shades of red, or the full color library.