#B42838

Closest named color: Firebrick (#B22222). oklch(50.8% 0.175 20.4), rgb(180, 40, 56).

Aa

White text reads best on this color (6.36:1).

About this color

#B42838 is a medium-dark, vivid red. In OKLCH its lightness is 51%, its chroma 0.175 and its hue 20°. Its hue sits on the warm side of the wheel. The nearest named color is Firebrick (#B22222), ΔE 0.023 away. White text reads best on it, at 6.36:1.

Hue familyReds
Lightnessmedium-dark (51%)
Chromavivid (0.175)
Temperaturewarm
Nearest nameFirebrick (#B22222)
Black text3.30:1
White text6.36:1

Values

HEX#B42838
RGBrgb(180, 40, 56)
HSLhsl(353, 64%, 43%)
OKLCHoklch(50.8% 0.175 20.4)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #B42838 6.36:1 AA Lc -85.4 Fine for body text
Black text on #B42838 3.30:1 AA large text Lc 23.9 Dividers and decoration only
#B42838 text on white 6.36:1 AA Lc 80.2 Fine for body text
#B42838 text on black 3.30:1 AA large text Lc -21.6 Dividers and decoration only

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 700.

  1. Step 50

    50

    #FDF3F2

    oklch(97.2% 0.011 24.3)

  2. Step 100

    100

    #FAE4E3

    oklch(93.6% 0.024 20.7)

  3. Step 200

    200

    #F7CDCC

    oklch(88.4% 0.048 19.7)

  4. Step 300

    300

    #F3ABAA

    oklch(80.9% 0.085 20)

  5. Step 400

    400

    #E97B7C

    oklch(70.7% 0.136 20.5)

  6. Step 500

    500

    #DF545B

    oklch(63.2% 0.174 20.6)

  7. Step 600

    600

    #CA3141

    oklch(55.6% 0.188 20.6)

  8. Step 700

    700 (this color)

    #B42838

    oklch(50.8% 0.175 20.4)

  9. Step 800

    800

    #8D1F2B

    oklch(42.6% 0.145 20.4)

  10. Step 900

    900

    #722127

    oklch(37.8% 0.113 20.3)

  11. Step 950

    950

    #431517

    oklch(27% 0.071 20.7)

Export this scale for Tailwind in the Tailwind colors tool

#B42838 with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#524C370.192
Deuteranopia (no green cones)#756A340.176
Tritanopia (no blue cones)#C6002F0.038
Achromatopsia (no color)#5F5F5F0.177

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #B42838

    #B42838

    oklch(50.8% 0.175 20.4)

  • #007479

    #007479

    oklch(50.8% 0.086 200.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B42838

    #B42838

    oklch(50.8% 0.175 20.4)

  • #A92B73

    #A92B73

    oklch(50.8% 0.175 350.2)

  • #9F4900

    #9F4900

    oklch(50.7% 0.134 50.3)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #B42838

    #B42838

    oklch(50.8% 0.175 20.4)

  • #00785D

    #00785D

    oklch(50.9% 0.101 170.1)

  • #006F94

    #006F94

    oklch(50.7% 0.101 230.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B42838

    #B42838

    oklch(50.8% 0.175 20.4)

  • #1F7A00

    #1F7A00

    oklch(50.7% 0.165 140.4)

  • #215FC7

    #215FC7

    oklch(50.8% 0.174 260.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B42838

    #B42838

    oklch(50.8% 0.175 20.4)

  • #696A00

    #696A00

    oklch(50.7% 0.111 110.4)

  • #007479

    #007479

    oklch(50.8% 0.086 200.1)

  • #694BC0

    #694BC0

    oklch(50.8% 0.175 290.6)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #B42838, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #B42838 in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.