#F238C7#F238C7
#F238C7 is a light, highly saturated pink. Relative luminance 0.258; OKLCH L 67.1% C 0.257 H 339.4°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F238C7 |
|---|---|
| RGB | rgb(242, 56, 199) |
| HSL | hsl(314, 88%, 58%) |
| HSV | hsv(314, 77%, 95%) |
| CMYK | cmyk(0%, 76.9%, 17.8%, 5.1%) |
| CIE-LAB | lab(57.88, 80.67, -33.30) |
| CIE-LCH | lch(57.88, 87.28, 337.57°) |
| OKLab | oklab(67.1% 0.2404 -0.0901) |
| OKLCH | oklch(67.1% 0.257 339.4) |
| XYZ | xyz(48.3423, 25.8340, 56.4623) |
| Luminance | 0.2583 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Hot Magenta
#F504C9
ΔE00 2.69
Purpleish Pink
#DF4EC8
ΔE00 3.11
Bright Pink
#FE01B1
ΔE00 4.57
Fuchsia (survey)
#ED0DD9
ΔE00 4.72
Bright Magenta
#FF08E8
ΔE00 4.89
Pink Purple
#EF1DE7
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F238C7 #38F263
analogous
#C038F2 #F238C7 #F2386A
triadic
#F238C7 #C7F238 #38C7F2
tetradic
#F238C7 #F2C038 #38F263 #386AF2
square
#F238C7 #F2C038 #38F263 #386AF2
split-complementary
#F238C7 #6AF238 #38F2C0
monochromatic
#A50B81 #DE0FAE #F238C7 #F671D7 #FAABE7
Accessibility & contrast
On white
3.41
#F238C7 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#F238C7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F238C7
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F238C7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F238C7 | 1.00 | 3.41 | 6.17 | 6.17 |
| #FFFFFF | 3.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4578CB
Deuteranopia (green-blind)
#8495C3
Tritanopia (blue-blind)
#FF407D
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #f238c7; /* rgb */ color: rgb(242, 56, 199); /* oklch */ color: oklch(67.1% 0.257 339.4);
Tailwind
colors: {
custom: {
50: '#fb82d8',
500: '#f238c7',
950: '#000000',
},
}SCSS
$custom: #f238c7; $custom-light: #fb82d8; $custom-dark: #000000;
JSON
{
"hex": "#f238c7",
"rgb": {
"r": 242,
"g": 56,
"b": 199
},
"hsl": {
"h": 313.871,
"s": 87.736,
"l": 58.431
},
"oklch": {
"l": 0.67103,
"c": 0.25678,
"h": 339.4
},
"luminance": 0.25829
}Semantic roles & 50–950 ramp
primary
#F238C7
secondary
#9EE8AF
accent
#FE5B2A
background
#FFF8FD
surface
#FFF0FA
border
#D7CBD3
text
#180C14
muted
#867D83